How do the experts solve difficult problems in software development?
In this unique and insightful book, leading computer scientists offer case studies that reveal how they found unusual, carefully designed solutions to high-profile projects.
You will be able to look over the shoulder of major coding and design experts to see problems through their eyes.
This is not simply another design patterns book, or another software engineering treatise on the right and wrong way to do things.
The authors think aloud as they work through their project's architecture, the tradeoffs made in its construction, and when it was important to break rules. "Beautiful Code" is an opportunity for master coders to tell their story.
All author royalties will be donated to Amnesty International.
The book includes the following contributions: "Beautiful Brevity: Rob Pike's Regular Expression Matcher" by Brian Kernighan, Department of Computer Science, Princeton University; "Subversion's Delta Editor: Interface as Ontology" by Karl Fogel, editor of "QuestionCopyright.org", Co-founder of Cyclic Software, the first company offering commercial CVS support; "The Most Beautiful Code I Never Wrote" by Jon Bentley, Avaya Labs Research; "Finding Things" by Tim Bray, Director of Web Technologies at Sun Microsystems, co-inventor of XML 1. 0; "Correct, Beautiful, Fast (In That Order): Lessons From Designing XML Validators" by Elliotte Rusty Harold, Computer Science Department at Polytechnic University, author of "Java I/O, Java Network Programming", and "XML in a Nutshell" (O'Reilly); and, "The Framework for Integrated Test: Beauty through Fragility" by Michael Feathers, consultant at Object Mentor, author of "Working Effectively with Legacy Code" (Prentice Hall).
It also includes: "Beautiful Tests" by Alberto Savoia, Chief Technology Officer, Agitar Software Inc; "On-the-Fly Code Generation for Image Processing" by Charles Petzold, author "Programming Windows and Code: The Hidden Language of Computer Hardware and Software" (both Microsoft Press); "Top Down Operator Precedence" by Douglas Crockford, architect at Yahoo!Inc, Founder and CTO of State Software, where he discovered JSON; "Accelerating Population Count" by Henry Warren, currently works on the Blue Gene petaflop computer project Worked for IBM for 41 years; "Secure Communication: The Technology of Freedom" by Ashish Gulhati, Chief Developer of Neomailbox, an Internet privacy service Developer of Cryptonite, an OpenPGP-compatible secure webmail system; and, "Growing Beautiful Code in BioPerl" by Lincoln Stein, investigator at Cold Spring Harbor Laboratory - develops databases and user interfaces for the Human Genome Project using the Apache server and its module API. It also includes: "The Design of the Gene Sorter" by Jim Kent, Genome Bioinformatics Group, University of California Santa Cruz; "How Elegant Code Evolves With Hardware: The Case Of Gaussian Elimination" by Jack Dongarra, University Distinguished Professor of Computer Science in the Computer Science Department at the University of Tennessee, also distinguished Research Staff member in the Computer Science and Mathematics Division at Oak Ridge National Laboratory (ORNL) and Piotr Luszczek, Research Professor at the University of Tennessee; "Beautiful Numerics" by Adam Kolawa, co-founder and CEO of Parasoft; and, "The Linux Kernel Driver Model" by Greg Kroah-Hartman, SuSE Labs/Novell, Linux kernel maintainer for driver subsystems, author of "Linux Kernel in a Nutshell", co-author of "Linux Device Drivers, 3rd Edition" (O'Reilly). It also includes: "Another Level of Indirection" by Diomidis Spinellis, Associate Professor at the Department of Management Science and Technology at the Athens University of Economics and Business, Greece; "An Examination of Python's Dictionary Implementation" by Andrew Kuchling, longtime member of the Python development community, and a director of the Python Software Foundation; "Multi-Dimensional Iterators in NumPy" by Travis Oliphant, Assistant Professor in the Electrical and Computer Engineering Department at Brigham Young University; and, "A Highly Reliable Enterprise System for NASAs Mars Rover Mission" by Ronald Mak, co-founder and CTO of Willard & Lowe Systems, Inc, formerly a senior scientist at the Research Institute for Advanced Computer Science on contract to NASA Ames. It also includes: "ERP5: Designing for Maximum Adaptability" by Rogerio de Carvalho, researcher at the Federal Center for Technological Education of Campos (CEFET Campos), Brazil and Rafael Monnerat, IT Analyst at CEFET Campos, and an offshore consultant for Nexedi SARL; "A Spoonful of Sewage" by Bryan Cantrill, Distinguished Engineer at Sun Microsystems, where he has spent most of his career working on the Solaris kernel; "Distributed Programming with MapReduce" by Jeff Dean and Sanjay Ghemawat, Google Fellows in Google's Systems Infrastructure Group; "Beautiful Concurrency" by Simon Peyton Jones, Microsoft Research, key contributor to the design of the functional language Haskell, and lead designer of the Glasgow Haskell Compiler (GHC); and, "Syntactic Abstraction: The syntax-case expander" by Kent Dybvig, Developer of Chez Scheme and author of the Scheme Programming Language.
It also includes: "Object-Oriented Patterns and a Framework for Networked Software" by William Otte, a Ph.D. student in the Department of Electrical Engineering and Computer Science (EECS) at Vanderbilt University and Doug Schmidt, Full Professor in the Electrical Engineering and Computer Science (EECS) Department, Associate Chair of the Computer Science and Engineering program, and a Senior Research Scientist at the Institute for Software Integrated Systems (ISIS) at Vanderbilt University; "Integrating Business Partners the RESTful Way" by Andrew Patzer, Director of the Bioinformatics Program at the Medical College of Wisconsin; and, "Beautiful Debugging" by Andreas Zeller, computer science professor at Saarland University, author of "Why Programs Fail: A Guide to Systematic Debugging" (Morgan Kaufman). It also includes: "Code That's Like an Essay" by Yukihiro Matsumoto, inventor of the Ruby language; "Designing Interfaces Under Extreme Constraints: the Stephen Hawking editor" by Arun Mehta, professor and chairman of the Computer Engineering department of JMIT, Radaur, Haryana, India; "Emacspeak: The Complete Audio Desktop" by TV Raman, Research Scientist at Google where he focuses on web applications; "Code in Motion" by Christopher Seiwald, founder and CTO of Perforce Software and Laura Wingerd, vice president of product technology at Perforce Software, author of "Practical Perforce" (O'Reilly); and, "Writing Programs for 'The Book'" by Brian Hayes who writes the Computing Science column in American Scientist magazine, author of "Infrastructure: A Field Guide to the Industrial Landscape"(W.W.
- Format: Paperback
- Pages: 600 pages, Illustrations
- Publisher: O'Reilly Media, Inc, USA
- Publication Date: 10/07/2007
- Category: Software Engineering
- ISBN: 9780596510046
- PDF from £24.48
- EPUB from £23.03
Showing 1 - 5 of 5 reviews.
Review by tsangal
Beautiful Code is a collection of essays by master programmers, each discussing a piece of code or software architecture that they find particularly beautiful or elegant. The essays cover a wide range of topics and some will really challenge your understanding, but readers who put in the effort will be rewarded. This is an invaluable resource filled with practical wisdom from gurus, and pretty much all of the code is taken from software in actual use. This book is a must-read for any programmer, and could one day be regarded as a classic text on programming.
Review by rich
Nowhere near as good as I expected; many of the essays were either bad or not at all related to "beautiful code". There were some good pieces, though.
Review by stevedoyle
A good book of explained example code in a variety of programming languages. For me there is too much focus explaining the tricks used and less on the title topic of "beautiful code".
Review by jorgearanda
With more than thirty essays on the beauty of code, by more than thirty programmers, this book was bound to have some weak spots. However, it also has some brilliant, eye-opening pieces that I'm happy I've now read.The key to enjoy the book is to sniff out those chapters that won't make the cut for you, either because of their topic or the skills you need to make sense of them, and to focus in detail on the rest.
Review by brikis98
A mixed bag, but overall, worth reading. <br/><br/>Pros: I think programmers do not spend enough time studying the code of others, so books like this are an important step in encouraging the study of this craft. Each chapter of the book is written by a different (often famous) programmer, uses a different language, and discusses a different domain, so you get to see a huge range of different types of code. Multidimensional Iterators in NumPy, Distributed Programming with MapReduce, Beautiful Concurrency, and Writing Programs for the "Book" were my favorite chapters. <br/><br/>Cons: given all the different authors, the quality of the chapters is uneven. A few are boring; a few are interesting, but very tough to follow; a few just discuss high level principles and don't show much code. Also, while I recognize that beauty is subjective, for a prompt of "what's the most beautiful code you've ever seen", a few of the code snippets were questionable.