Re:A concise guide to the latest Go generics draft design
by throwaway894345 on Thursday June 18, 2020 @01:29PM
(#23565400)
Hype cycles are real, but Go wasn't really involved in one. Go generally lives up to its promises; with a few exceptions, Go's critics mostly take issue with Go for eliding features they believe are necessary for software development--their criticisms are framed as "Go lacks features I like so it can't be good". In particular, they're often (but not always) inexperienced with the language and haven't actually tested Go's specific feature set with respect to whether or not it improves their ability to develop software (i.e., they have faith in their favorite features, but aren't willing to test that faith by trying Go in earnest). But there's no material "trough of disappointment"--people who tried Go mostly like it and find that it lived up to its promises and most of the critics are simply disingenuous and defensive (this isn't a convenient writing off of critics, it's evidenced by the substance of their criticism--not that this will spare me any downvotes).
Again, you have to understand that HN's biases play into this effect. There are many people here that want to be at the forefront of the field, but are outraged when they have to show up at an interview and code up a data structure on the whiteboard. If generics were in Go, then someone else would have already written the data structures, and they could continue to believe that the practicing programmer has no need to ever look at a computer science textbook. But the reality is, when you use Go, sometimes you have to show up and write an algorithm or a data structure. (The most common one I've written is an ordered set; a slice with the keys, and the keys and values in a map.) So you can see why emotions are going to run high. Two ideals are in direct conflict -- and generics are going to solve the emotional problems. Thus, much is said and argued on these topics.
I have to say, I sleep way better at night knowing that the Go team is around to deal with all this stuff. There is a lot of arguing and strong emotions, and they sort through it all and continually produce something that seems sane. Because they do such a good job, I don't have to feed the hype cycle, I can sit here and enjoy the view from the Plateau of Productivity.