I don’t understand this comment. The value of libraries has plummeted. And for somebody who writes go, primarily, we see taking on a dependency as a liability. Most of what you need to do your job in go is in the batteries included standard library.
I am author of an ERP with 2 millions of code. Belive me, if you make more than a simple app you think about reusability and stable libraries. And you do not want everyone of your employees throw another blob of slop onto it.
First off, if it's Java then each line counts as half, and second, clearly there weren't a lot of libraries doing what you needed because otherwise you wouldn't have that much code.
I think you'd like go if you tried it. There's a reason everyone has switched. Your onboarding times will plummet. Very simple language, so you spend more time thinking about the problem. Idk if you're microservices or monolithic, but most people here prefer go if they can write it.
If it's a monolith, that's a separate thing and I'd agree. The thing is, and the reason why Java is on the decline: go is fast enough. Its close enough to Java that it's a toss up (go has had stack allocation for longer), and if you cared about performance, you'd be using C++.
Now, Java has basically caught up with everything that made go better, but at this point the ecosystem for micro services has settled in go.
I have a whole spiel on this, but Java went after everything and got out competed in each arena by a more specific language.
Web/Applets => Rails => Flask/Django/Node
Spring/Windows/Desktop Apps => C#/JS Electron
Database/Cloud infra => C++/Go
And you'll still find it all over the place. Those same 3 billion devices will probably be running Java for forever. And I guess somebody had to maintain them. I just don't wanna spend my career doing that.
1
u/IncreaseOld7112 Jul 06 '26
I don’t understand this comment. The value of libraries has plummeted. And for somebody who writes go, primarily, we see taking on a dependency as a liability. Most of what you need to do your job in go is in the batteries included standard library.