4 ms·
I never said there aren't features in Go I would rather see removed, or that there aren't features I would like to see added, or that Go is perfect in general.
by arp242 3y ago
I never said there aren't features in Go I would rather see removed, or that there aren't features I would like to see added, or that Go is perfect in general.
- ReleaseCandidat 3y agoSúm types (or even just working enums) would replace iota.
- arp242 3y agoOnly for some uses of iota. And iota is "simpler" from some perspectives, because you never have to deal with it anywhere except in const (..) blocks (that is, it's a very "localized" feature that barely interacts with anything else).