Re:Clear is better than clever [pdf]
by apta on Monday May 06, 2019 @10:27AM
(#19839697)
Golang doesn't have enums
[ Parent
| on HN ]
Re:Clear is better than clever [pdf]
by 5trokerac3 on Monday May 06, 2019 @10:39AM
(#19839795)
Neither does JS, but there are ways to accomplish the same thing[0].
[0] https://stackoverflow.com/questions/14426366/what-is-an-idio...
TypeScript does and it’s one of my favorite features.