r/java • • Jun 10 '24

[deleted by user]

[removed]

616 Upvotes

594 comments sorted by

View all comments

1

u/Leverkaas2516 Jun 10 '24 edited Jun 10 '24

Your Edit indicates you think it's faster to develop in NodeJS than Java. Is that objectively true? I don't know, because I don't know about NodeJS.

Assuming it is, my gut feeling based on long experience with Java's tradeoffs tells me that a 500,000 line multi-year project written in NodeJS by a team of developers of different skill levels might well be much harder to maintain than the Java equivalent. Besides Java's top-tier ecosystem of available libraries and tools, it's hard to find a tool more amenable to writing maintainable code. It's another major reason people still use Java.

A company that's going to invest several million dollars in a code base that's going to be the backbone of its business might well value maintainability over development speed.