Beautiful Code: Leading Programmers Explain How They Think 9780596554675, 0596554672

How do the experts solve difficult problems in software development? In this unique and insightful book, leading compute

763 75 4MB

English Pages 624 Year 2008

Report DMCA / Copyright

DOWNLOAD FILE

Beautiful Code: Leading Programmers Explain How They Think
 9780596554675, 0596554672

Table of contents :
Content: Beautiful Code
Preface
Conventions Used in This Book
Using Code Examples
How to Contact Us
Safari® Enabled
1. A Regular Expression Matcher
1.2. Implementation
1.3. Discussion
1.4. Alternatives
1.5. Building on It
1.6. Conclusion
2. Subversion & s Delta Editor: Interface As Ontology
2.2. Expressing Tree Differences
2.3. The Delta Editor Interface
2.4. But Is It Art?
2.5. Abstraction As a Spectator Sport
2.6. Conclusions
3. The Most Beautiful Code I Never Wrote
3.2. More and More with Less and Less
3.3. Perspective
3.4. What Is Writing?
3.5. Conclusion
3.6. Acknowledgments. 4. Finding Things4.2. Problem: Weblog Data
4.2.2. Putting Regular Expressions to Work
4.2.3. Content-Addressable Storage
4.2.4. Time to Optimize?
4.3. Problem: Who Fetched What, When?
4.3.2. Binary Search Trade-offs
4.3.3. Escaping the Loop
4.4. Search in the Large
4.4.2. Ranking Results
4.4.3. Searching the Web
4.5. Conclusion
5. Correct, Beautiful, Fast (in That Order): Lessons from Designing XML Verifiers
5.2. The P.

Polecaj historie