Re:What if null was an Object in Java?
by simpsond on Sunday April 28, 2024 @12:45PM
(#40189850)
Yeah, I wish the VM would prevent null assignment of optional and force to empty. There are probably side effects I can’t think of here and certainly would cause problems with legacy code misusing optionals.
[ Parent
| on HN ]
There are no comments on this comment yet.