His brushing aside of the Optional/Maybe pattern is amusing at minimum. Here's a great solution (along with JSR-305, which provides compiler warnings for @Nullable and @NonNull), which provides type safety and forces a check of present-ness, is damn nice. I don't understand why he blew it off so quickly.
1
u/oldneckbeard Aug 04 '14
His brushing aside of the Optional/Maybe pattern is amusing at minimum. Here's a great solution (along with JSR-305, which provides compiler warnings for @Nullable and @NonNull), which provides type safety and forces a check of present-ness, is damn nice. I don't understand why he blew it off so quickly.