Tuesday, September 30, 2008

The Thoughts of Chairman Bob

If you're like me, and mainly program by epithet, then you must read Clean Code by Robert C. Martin. Here are a few of his dicta.

  • Smart programmers are not professional programmers ... clarity is king (p. 25)

  • The first rule of functions is that they should be small. The second rule of functions is that they should be smaller than that. (p. 34)

  • Communication is the professional developer's first order of business (p. 76)

  • Serious thought needs to be put into the best way to represent the data that an object contains. The worst option os to blithely add getters and setters. (p. 95)