Hacker News new | ask | show | jobs
by aristofun 1879 days ago
Java is too scalable for simple crud. That’s my point.

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.

1 comments

Multi threading has zero overhead in normal Java web frameworks. It's thread-per-request so you don't need to worry about thread safety any more than you do in JS. That you didn't know that implies you haven't worked with many Java web frameworks.

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

Its very unprofessional and not polite of you to assume my knowledge from few words.

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.

That was rude especially for HN, my apologies. I'm a big Java fan but you're right about verbosity and ceremony about startup. There's ways around it but not stuff you would read in a book. Tribal knowledge really like starting a project using a maven archetype and using lombok judiciously.

Java gets a bad rap which bothers me because it's really a good choice for backend work even today. Sometimes it bothers me enough that I lash out needlessly.

I'm with you, I love Java, really do. JVM is a masterpiece, undoubtedly.

And i also lash out sometimes when people (especially beginners) trying to solve simple problems with heavy artillery, sorry.

Peace.