Re:Odin: Moving Towards a New "core:OS"
by gm678 on Wednesday December 31, 2025 @09:36AM
(#46444404)
Different language, but I find this Kotlin RFC proposing union types has a nice canonical example (https://youtrack.jetbrains.com/projects/KT/issues/KT-68296/U...)
A proper option type like Swift's or Rust's cleans up this function nicely.
[ Parent
| on HN ]
There are no comments on this comment yet.