Hacker News new | past | comments | ask | show | jobs | submit login

There's a huge discussion here, if you're interested: https://github.com/golang/go/issues/19814

TBH I thought adding enums was a cut and dried case until reading through some opposing opinions. Now I'm not so sure.




In other words, go has somehow managed to shoehorn themselves into a language so rigid that adding pretty basic correctness features comes with serious downsides.

This is not a selling point for the language.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: