Hacker News new | ask | show | jobs
by 2h 1136 days ago
> option types

Go couldn't have Option before, and it cant have option now. Option is not only generic, but its also an Enum, which Go still doesn't have:

https://doc.rust-lang.org/std/option/enum.Option.html

so its not really clear what you mean by this.

2 comments

Option is an enum _in Rust_. This is not universally true (or even common).