Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The problem is that this makes enums non-enumerable. They need to be represented as a range or union type to do that. I am pretty sure I know why/how Go ended up like this because it’s inherited behavior from proto, wrote a large comment later down the thread explaining why.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: