Hacker News new | ask | show | jobs
by geodel 1572 days ago
Right. Basically Go team is lacking big picture thinkers like this[1]

1. https://dilbert.com/strip/1994-12-17

2 comments

Go generics were designed with plenty of cooperation from the PL research community. While some complexity to the design may be unavoidable, it's the farthest thing from just having a hacked-together feature with no "big picture" thinking underneath. Very similar to how generics were added to Java, in fact/
Golang is my favorite language, and I really like the approach that the team takes. A few days ago I shared here some interesting comments from Griesemer on Golang enums.

But sure, let's not give any ideas or question anything ever again, someone might get offended.

Honestly, the lack of enums annoys me far more than the generics ever do. Mainly because we have interfaces.