4 ms·
Agree. The "new" operator in my case was hidden deep inside a corporate framework where the guy that invented it had left a long time ago. Quite an adventure do
by exabrial 7y ago
Agree. The "new" operator in my case was hidden deep inside a corporate framework where the guy that invented it had left a long time ago. Quite an adventure down the rabbit hole to figure that out!
Boxed primitives are useful when working with systems and languages where "null" is a concept. Take for example, interacting with a database where you have a boolean column that has true/false/null. That translates well to boxed primitive types.