Å·±¦ÓéÀÖ

Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin Series)
Rate it:
Kindle Notes & Highlights
4%
Flag icon
You should name a variable using the same care with which you name a first-born child.
4%
Flag icon
To err is human; to forgive, divine.
27%
Flag icon
This note or highlight contains a spoiler
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.
Gonzalo Diaz
Procedural vs OO
28%
Flag icon
Error handling is important, but if it obscures logic, it’s wrong.