|
|
|
|
|
by randomdata
773 days ago
|
|
You'll have to ask the Rust community. Rust lacks enums. Go, however, most definitely has enums (and exceptions too!). type E int
const (
A E = iota
B
C
)
It's funny how people who have clearly never even looked at Go continually think they are experts in it. What causes this strange phenomena? |
|
They can have values like sum types, or not.