Re:Go 1.27 Interactive Tour
by treyd on Sunday August 02, 2026 @10:21AM
(#49144970)
You'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.
Re:Go 1.27 Interactive Tour
by fooooor on Sunday August 02, 2026 @10:57AM
(#49145258)
No 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...
Re:Go 1.27 Interactive Tour
by golem14 on Sunday August 02, 2026 @11:17AM
(#49145401)
If 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.
If you don't want it don't use it. It's that simple.