I won’t @ them but limiting expressivity in order to limit cognitive load and keep codebases approachable is a totally legitimate move in language design. I’d even say essential. It’s all about balance, and expressivity _does_ have tradeoffs.https://twitter.com/SeanTAllen/status/1036236006872305665 …
Agreed! Too many people on both sides equate “generics” with “C++’s implementation of generics”. If I were designing Go, given the choice between interfaces and ML-style generics I would have chosen the latter.
-
-
Link to learn ML generics? ML is harder to search for than even Go.

- 13 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.