📖 Clean Code
Backlinks
- Command Query Separation
- ~ define calling functions before called functions
- ~ don't add getter and setters for every var, think about the publicly needed essence of the data
- ~ function content should only be one abstraction layer lower than the function
- ~ functions should only operate on one abstraction layer
- ~ if you can factor a function's content into function(s) that aren't just a restating of the parent function's name, your function does too much
- ~ in a well-defined class, almost every private method calls almost every prop
This is a Book note.