4 ms·
How so? You can find examples of poor engineering in any language. What's specific about go?
by azinman2 11y ago
How so? You can find examples of poor engineering in any language. What's specific about go?
- lmm 11y agoGo doesn't have the facilities that let you handle real-world concerns in a nice way. All the examples of bad, enterprisey Java - Spring AbstractSingletonProxyFactoryBean, XML config for everything, reflection-based JSON serialization, annotation-based transaction management, JavaSpaces - they weren't written by idiots, they were written because they were the best way to solve real business problems within the limits of the language - limits that go also has. People don't like writing hundreds of lines of repetitive boilerplate the way go's lack of generics forces you to. They'll look for a better way, and they'll come up with hacks, just as they did in Java.
- geodel 11y agoWell Java has generics since 2004 and I have seen bloated enterprisey usage and patterns increasing vastly since then. Spring has become major force after Java had generics. So your argument about generics does not sound realistic to me.
- lmm 11y agoJava's type system is limited (no higher kinds) and methods that might throw exceptions can't be handled as values in a generic way.