Re:Java 8 Features
by smoyer on Friday May 30, 2014 @09:47AM
(#7821723)
I still prefer using JSR-305 annotations/tools (like Findbugs) to do static analysis. Reification should help Optional<?> become more useful, but why would you ask for run-time checking when in most cases compile-time checking identifies the problems?
[ Parent
| on HN ]
Guava has a nice explanation: https://code.google.com/p/guava-libraries/wiki/UsingAndAvoid.... Essentially, it forces you to actively think about the "absent" case when programming.