News for hackers. Stuff that matters.
Re:Java's Original Sin (2009) by chrisseaton on Monday July 15, 2019 @03:36AM (#20438856)
> Another confusion I have is that if primitive int and Integer merge into Int, then we have problems with null?

The author isn’t suggesting that this would be a design change that would be compatible with the current semantics of Java, so behaviour for null would change.

Re:Java's Original Sin (2009) by willvarfar on Monday July 15, 2019 @03:42AM (#20438875)
Yeap.

I can think of two main uses for Integer: when you have type polymorphism (e.g. my own code often has maps of Object) or nullness.

I go on to describe a different approach to nullness that suites ints, for example.