The Art of Readable Code from O'Reilly is a quick, easy read with a lot of useful ideas for new programmers. It weighs in at 180 pages, but there's a lot of well used whitespace and a number of (mostly on topic) comic panels in those pages making it seem shorter.
Part one covers naming, code layout, and writing comments; parts two and three cover the meat of refactoring; and part four discusses testing and gives an example of applying the ideas in the book to a small coding project.
The book's examples are in C++, Python, Java, and Javascript. I would have appreciated seeing some examples in other languages as well (haskell or scala might be good candidates), especially where that language might obviate or change the advice given.
Truth in advertising note, O'Reilly sent me a free copy of this book to review.
No comments:
Post a Comment