Re:New Features in Java 14
by LessDmesg on Wednesday March 04, 2020 @02:06AM
(#22481776)
Option types don't have to be boxed and are specifically optimized in Rust and, if I remember correctly, in Haskell. The Nothing is represented much like a null pointer, i.e. with a special value that can't be dereferenced.
[ Parent
| on HN ]