News for hackers. Stuff that matters.
Re:Better Java – Resources for Writing Modern Java by harryh on Saturday September 19, 2015 @09:37PM (#10246247)
Given that the Option type has existed in programming languages other than Java for decades I don't think it makes sense to call it a "typical Java" thing.

I can see how a C/Asm programmer wouldn't like it though. Very different mindsets. :)

Re:Better Java – Resources for Writing Modern Java by userbinator on Saturday September 19, 2015 @11:11PM (#10246449)
The difference is that other languages which originally had the Option type don't have null, so it's the only option. I meant it's typical of Java to take features from other languages, resulting multiple slightly-different-but-incompatible ways to achieve the same thing.
Re:Better Java – Resources for Writing Modern Java by harryh on Sunday September 20, 2015 @03:19PM (#10248655)
I certainly agree that Java would be a much better language if NULL could be eliminated completely. Backwards compatibility though...

sigh