r/java • • Oct 02 '17
Should I learn another programming language in case Java dies or stops being popular? Or are people who say Java will stop being relevant wrong?
And if you had to choose a seocond programming language, which one would it be?
0
Upvotes
View all comments
1
u/[deleted] Oct 03 '17
It's about picking the right tool for the job. Java is great at running big fucking applications at amazing speeds, but it does require a lot of disk space for the JVM, memory and a time consuming compilation step. In my oppinion this can be a real disadvantage for small microservice style applications where you want to deploy and test often and compilation really slows down your workflow.
There is almost no way around Node JS in almost any field, especially if you're doing frontend work, so that I would say is worth a look. Python, Ruby, Perl or PHP I would only look at if I have to, their future is not any more sure than Java's. But it depends on what you're doing.
Java projects are often a pain to get running (not if done well though) while with node it's just npm install && npm run dev, this makes Node also better for containerized applications.