Why is it a good practice to wrap all primitives and Strings?
- by Amogh Talpallikar
According to Jeff Bay's Essay on Object Callisthenics,
One of the practices is set to be "Wrap all primitives and Strings"
Can anyone elaborate on this ?
In languages where we already have wrappers for primitives like C# and Java.
and In languages where Collections can have generics where you are sure of what type goes into the collection, do we…