Code Smell: Primitive Obsession
We coders can't even keep track of a few primitives. Can we just accept that and adjust our style or do we want to continue obsessing over primitive obsession?
Technical Essays Referenced
- Primitive Obsession — A Code Smell that Hurts People the Most
- Primitive Obsession
- Primitive Obsession Code Smell Resolution with example
- Code Smell
- Primitive Obsession
(Also of note, from Lobsters reader @corbin, "How Futile are Mindless Assessments of Roundoff in Floating-Point Computation?")
Comments ()