by aristofun · 5y ago · 0 comments
Sorry for being emotional and slightly off topic, but why would you fire a cannon at sparrows?
“Today” some things changed, new more team-scalable and simple languages matured. Old one got more performant and stable (like nodejs, ruby etc).
What’s there in CRUD that you win with jvm?
You imply that Java is big and heavy when JS/Node Python and Ruby use more ram and run slower than Java in basically every benchmark. And V8 runtime and JS language complexity is just as big as Java these days.
Java is very scalable. If I was force to work on a million+ line project I would pray it was Java or C#.
Java ain't going to win any beauty pageants but it's a solid all rounder. The guy you keep on roster because he can fill any position, not because he's the star hitter.
I’ve worked a lot both with java and nodejs. Your words about js complexity “just as big” are simply wrong.
Think about multithreading for starter. And all the bugs and developer mental overhead that comes with it.
JS has become a huge language, just as big as Java. So is the runtime, V8 is gigantic, comparable to JVM. I use both every day.
Vert.X is nearly identical to Express JS including all the callback stuff. And that's one of the harder Java frameworks to use
As for java frameworks like spring they mostly suck because of way too verbose java syntax and over engineering mentality usually coming with any java framework.
Also i never said express js is a great example of web framework.
But i know for sure that i can spin up simple crud with db, tests and some logic behind it in less than hour in rails.
While java devs still arguing about “right” architecture.