Primitive Obsession

Our code exhibits the Primitive Obsession code smell: the use of integers rather than objects to represent fundamental domain concepts such as “Dollars” and “Tax Rate.” We undertake a series of major refactorings to resolve this smell. It results in significantly better code.

comments powered by Disqus