News for hackers. Stuff that matters.
Re:Overhead of Returning Optional Values in Java and Rust by ubercow13 on Saturday October 16, 2021 @01:10PM (#28889368)
Yes, in a language like Java where it's retrofitted in years after the decision was already made to allow literally everything to be null. In other languages, that doesn't apply.
Re:Overhead of Returning Optional Values in Java and Rust by brabel on Saturday October 16, 2021 @01:44PM (#28889742)
It doesn't apply in other languages either as long as their nulls are "safe", as in Kotlin or TypeScript.