Re:Things Go needs more than generics
by BoxOfRain on Monday October 04, 2021 @05:30AM
(#28744739)
Option types in general are a wonderful thing, it's a big part of why I prefer Kotlin to Java. Kotlin's syntax for option types is really nice too, it's just `Int` vs `Int?` as opposed to Rust's `Option<i32>`. I definitely prefer Rust-style result types when it comes to error handling though.
[ Parent
| on HN ]
There are no comments on this comment yet.