Code Smell 01 - Anemic Models
TL;DR: Don't use objects as data structures
Protocol is empty (with setters/getters).
If we ask a domain expert to describe an entity he/she would hardly tell it is 'a bunch of attributes'.
Problems
No Encapsulation.
No mapping to real world entit...
maximilianocontieri.com2 min read