Browsing All Posts published on »February 7th, 2011«

Code Smell : Primitive Obsession

February 7, 2011


Primitive Obsession is when the code relies too much on primitives. What this means is that a primitive value controls the logic in a class and this primitive value is not type safe. For example, there are multiple situations in which we might consider the use of String for comparison and driving the logic even […]