5 ms·
enums with associated values (like in swift) really are the thing i miss the most in go.
by bsaul 3y ago
enums with associated values (like in swift) really are the thing i miss the most in go.
- pjmlp 3y agoYeah, yet another Algol 60 missing feature. I really don't get how one can suggest the iota const dance with a straight face as an alternative.
- rochak 3y agoThe sooner you realise Go is just C with some niceties, the better.
- pjmlp 3y agoWhen are C enumerations coming to Go?
- preseinger 3y agowhat do you think would happen if there was a comment about go on the internet that you somehow didn't see, and to which you weren't able to reply with a sarcastic and sneering dismissal? probably some serious kind of disaster, right?
- pjmlp 3y agoAt crazy as it might seem, I do miss a lot. Then again, too busy reading papers.
- bsaul 3y agoso, i had a look because i wondered if you were joking or not, but algol 60 doesn't seem to have enums (putting it here just in case someone else may read this conversation)