ringtailringo

joined 2 years ago
[–] [email protected] 0 points 8 months ago

@bugsmith Title is making a strong qualitative statement about a feature completely absent from the language. Worse than that, it is not covered by the content, which is about “Look how I hand-roll a poor man’s enum in go”.

This kind of strong title not covered by content I call “clickbait” and will always do.

[–] [email protected] 0 points 8 months ago* (last edited 8 months ago) (2 children)

@bugsmith Go enums suck because there are no enums in go, thanks for the clickbait. There are packages implementing them and an ongoing proposal discussion: https://github.com/golang/go/issues/28987