Tag Archive 'antipattern'

This anti-pattern is about Using String instances all the time instead of more powerful objects. This is a special case of primitive obsession. Examples Here are some flavours of this anti-pattern: String as keys in a Map: I have seen calls to toString() on objects just to use their String representation as a key in [...]