4 ms·
Indeed, we're now one step away from monads. I know https://go.dev/doc/effective_go https://go.dev/doc/effective_go hasn't been updated for while, but it also s
by red_admiral 3mo ago
Indeed, we're now one step away from monads. I know https://go.dev/doc/effective_go https://go.dev/doc/effective_go hasn't been updated for while, but it also seems to have been forgotten. "Go is an open-source programming language that focuses on simplicity ..." the page begins.
- inigyou 3mo agoApparently the people responsible for the simplicity retired. Since it's Google, some new people want to be promoted for adding features to Go.
- treyd 3mo agoYou've already been able to badly implement monads in Go for 10+ years. Why wouldn't you be able to implement them in a way that the compiler can enforce correctness of? If you don't want it don't use it. It's that simple.
- fooooor 3mo agoNo it’s definitely not that simple. Code are read more often than written, no one works in a vacuum, especially not in open source. Also, when in Rome...
- golem14 3mo agoIf a project's owner feels that strongly about not using generics, that's a choice. No dependencies using generics, no generics allowed in PRs etc. Perfectly doable. Also, screw those Romans ;)