Рет қаралды 6,858
Why is Primitive Obsession bad? Because the domains of allowed states for any given domain concept we want to represent using a primitive is often different (smaller) from (than) the primitive itself.
Liskov Substition Principle
► • Liskov Substitution Pr...
Replace Conditional With Polymorphism & Primitive Obsession
► • Replace Conditional Wi...