3 ms·
Undefined is very underappreciated invention. I wish I had undefined in Java, throwing exception on read. That would make a lot of software much more reliable.
by vbezhenar 7y ago
Undefined is very underappreciated invention. I wish I had undefined in Java, throwing exception on read. That would make a lot of software much more reliable. I'm going to write my own AutoValue library just to generate java beans which will allow uninitialized values.
PS undefined in JavaScript is not that useful IMO. But it could be useful with more strict language.
- fnord123 7y agoOptional was added in java 8.