4 ms·
Brian Goetz's response: "They didn't solve the problem I thought they should have solved, so their solution is worthless." Thank you, internetz.[0] In any case
by pron 11y ago
Brian Goetz's response: "They didn't solve the problem I thought they should have solved, so their solution is worthless." Thank you, internetz.[0]
In any case, that's not what Java's optional is there for[1]. Solving the safety problem is the job of Java 8's pluggable type systems[2] that are both more powerful than the static-analysis tools listed in the article and had Oracle's official support (in the form of JSR-308).
[0]: https://twitter.com/BrianGoetz/status/656860771196887040 https://twitter.com/BrianGoetz/status/656860771196887040
[1]: http://stackoverflow.com/a/26328555/750563 http://stackoverflow.com/a/26328555/750563
[2]: http://types.cs.washington.edu/checker-framework/current/checker-framework-manual.html http://types.cs.washington.edu/checker-framework/current/che...