More on this book
Community
Kindle Notes & Highlights
Read between
November 21, 2020 - May 29, 2022
You should name a variable using the same care with which you name a first-born child.
To err is human; to forgive, divine.
Procedural code (code using data structures) makes it easy to add new functions without changing the existing data structures. OO code, on the other hand, makes it easy to add new classes without changing existing functions. The complement is also true: Procedural code makes it hard to add new data structures because all the functions must change. OO code makes it hard to add new functions because all the classes must change.
Error handling is important, but if it obscures logic, it’s wrong.