News for hackers. Stuff that matters.
Re:Java 8’s new Optional type doesn't solve anything by acaloiar on Monday October 26, 2015 @08:52AM (#10451036)
I believe the point @jontro is making is that unsafe programming behavior is unsafe without regard to the language's constraints. Option simply makes it more difficult to behave unsafely. Of course a developer can still call .get() when the presence of a value is unknown, but the Option type lets them know they are being careless in doing so.

There are no comments on this comment yet.