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

A sad day for Go, the pHDs have won, simplicity has died.



It certainly makes readability of Go code harder.


If generics replace code generation or hand coding a concrete implementation for specific types or... operating against interface{} and then switching based on runtime type, then I strongly disagree that it makes reading Go code harder, it makes it, IMO, easier.

But that's the thing, it's just IMO.


It only died if you actually applied it in your own codebase - as with any feature, using it is optional.


Code is written to be read, and typically for other people to read. So, in practice, it is only optional if everyone else agrees to not use it.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: