3 ms·
If you read the post instead of just the funny tldr, you realize that many of the demands would make Go simpler and/or more orthogonal and/or smaller.
by masklinn 16y ago
If you read the post instead of just the funny tldr, you realize that many of the demands would make Go simpler and/or more orthogonal and/or smaller.
- enneff 16y agoCan you flesh that claim out a bit more? I read the post and it was almost all extra stuff that would make the language spec longer, not shorter.
- grogers 16y agoOne example was that tuples elegantly handle multiple return values anyways, so you don't need to bother with them if you have tuples (and tuples are good in their own right). Another is that generics already exist in the language - map works even for user defined types. But since you can't make your own generics, map is all you get. With generics map is just a standard library feature rather than a core language feature, and you could write your own containers too if you wanted. These might not make the language spec strictly shorter, but definitely more orthogonal.
- deleted 16y ago[deleted]
- uriel 16y agoIf you have actually used Go, you would realize that many of his demands display seriously lack of familiarity with the language. For example, he completely missed defer.
- speleding 16y agotl;dr? He explicitly mentions "defer"