4 ms·
> 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 exa
by icholy 7y ago
> 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.
- Someone 7y agoI don’t think that’s a valid argument. Firstly, successful software has been written in languages that we would call atrocious nowadays. 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.
- aikah 7y ago> Considering all the successful software that's been written in Go, they weren't exactly wrong. Considering all the successful software written in PHP...? Or Javascript...? Java...? Your argument absolutely has nothing to do with my point.
- icholy 7y agoI think you're confusing "want" with "need"
- ignaloidas 7y ago>Considering all the successful software that's been written in Go, they weren't exactly wrong. How much of that software doesn't use Go's internal generics?
- dtech 7y agoSuccessful software has been written in every mainstream language. That does not mean that these languages all have no room for improvement. "Langues do not need function calls, successful software has been written in assembly" is a pretty weak argument.
- saghm 7y agoBy that logic, why update Go with _any_ new features? Just because something can be used as-is doesn't mean that it can't be improved
- rjvehn 7y agoSeems like the infrastructure built with it requires it at a certain point. https://medium.com/@arschles/go-experience-report-generics-in-kubernetes-25da87430301 https://medium.com/@arschles/go-experience-report-generics-i...
- pjmlp 7y agoOnce upon a type I was also writing successful software in Assembly, Clipper, Turbo Pascal, Turbo Basic, C, .... 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.