Skip to content

Comment on Rust vs. Go: Battle for the Back Endparent

Comments

Not entirely true - e.g. Kotlin has null safety built into its type system, and I find it much nicer than the option/optional approaches used in various other languages.

https://kotlinlang.org/docs/null-safety.html

Looks similar to the syntax in Swift. I agree - it’s much nicer than all the mucking around you need to do in rust.

It’ll never happen, but I wish rust added this kind of sugar on top of Option.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.