Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## G27: Structure over Convention
- Enforce design decisions with structure over convention. Naming conventions are good, but they are inferior to structures that force compliance. For example, switch/cases with nicely named enumerations are inferior to base classes with abstract methods. No one is forced to implement the switch/case statement the same way each time; but the base classes do enforce that concrete classes have all abstract methods implemented.
Advertisement
Add Comment
Please, Sign In to add comment