4 ms·
> I like the way null is handled in Java, I think it’s pretty well thought out, other than the small awkwardness with basic types. It's all inherited from C. N
by dehrmann 3y ago
> I like the way null is handled in Java, I think it’s pretty well thought out, other than the small awkwardness with basic types.
It's all inherited from C. Null works the same, references are just pointers, and primitives have to be boxed since collections store references. Not sure if I'd say it's well thought out, but coming from C, all the weirdness makes sense.