rw-book-cover

Metadata

Highlights

  • This all rings very true to me. I judge the quality of a piece of code by how easy it is to change, and anything that causes me to take on more cognitive load - unraveling a class hierarchy, reading though dozens of tiny methods - reduces the quality of the code by that metric. Lots of accumulated snippets of wisdom in this one.

    Mantras like “methods should be shorter than 15 lines of code” or “classes should be small” turned out to be somewhat wrong. (View Highlight)