Auto-boxing and unboxing isn't a bad idea - since Java behaves in odd ways at the boundary between primitive types and proper objects, why not simply have it magically convert one into the other behind the scenes as needed? Great
( Read more... )
Urgh that sounds awful, glad I don't have to touch Java any more. For the few extra lines of code needed to get your primitive typed array into an array of objects it really doesn't seem worth risking the 'magic' backfiring as it is here.
Comments 1
Reply
Leave a comment