The reason they exist is because Go language designers could not do without them. The same people that have claimed for years that Go didn't need generics.
The reason they exist is because Go language designers could not do without them. The same people that have claimed for years that Go didn't need generics.
Considering all the successful software that's been written in Go, they weren't exactly wrong.
Also, even if go were better than all other languages, it still might not be perfect.
Let’s say there are 10 ‘objectively good’ programming language features.
If most languages have 7, but go has 8, you still can complain about wanting the two other ones.
Considering all the successful software written in PHP...? Or Javascript...? Java...? Your argument absolutely has nothing to do with my point.
"Langues do not need function calls, successful software has been written in assembly" is a pretty weak argument.
https://medium.com/@arschles/go-experience-report-generics-i...
How much of that software doesn't use Go's internal generics?
It is such a lousy metric "if it is used it is good".
Well PHP and JavaScript are also used, a lot, even more than Go, most likely bringing home much more revenue as well.