18
Go Enums Still Suck (www.zarl.dev)
submitted 6 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 3 points 6 months ago

Well, if you're talking about Rust there, then seeing Go's pseudo-enums had me even more confused, why anyone's comparing the two.
Rust not only has enums, they're used everywhere and when combined with pattern matching, they're one of the most powerful concepts in the language...

this post was submitted on 20 Mar 2024
18 points (87.5% liked)

Golang

2163 readers
3 users here now

This is a community dedicated to the go programming language.

Useful Links:

Rules:

founded 1 year ago
MODERATORS