You have many languages and each with their ups and downs.
You have hardware close languages like, c, c++, rust and so on.
You have os "independent" languages lile python, java and Javascript.
Where Java stands for the JVM this includes all those languages too.
Python is slow until you use c libraries in the backend.
So now when you start a project you have know what language you should use for your project.
Do you need it to work on any system?
Is it important that it is fast?
Do you want to do sth. With machine learning?
Do you develop android?
And so on. And basically when you have answers to these questions you get to choose what language fits the most.
Java is still there because it is known. And it's stable. I personally prefer kotlin since it is much easier to write code in. But depending on your project you might have to watch out how kotlin compiles to Java bytecode it may have in rare cases issues that you don't have in Java.
View all comments
1
u/Johanno1 Jun 10 '24
So my opinion:
You have many languages and each with their ups and downs.
You have hardware close languages like, c, c++, rust and so on.
You have os "independent" languages lile python, java and Javascript.
Where Java stands for the JVM this includes all those languages too.
Python is slow until you use c libraries in the backend.
So now when you start a project you have know what language you should use for your project.
Do you need it to work on any system?
Is it important that it is fast?
Do you want to do sth. With machine learning?
Do you develop android?
And so on. And basically when you have answers to these questions you get to choose what language fits the most.
Java is still there because it is known. And it's stable. I personally prefer kotlin since it is much easier to write code in. But depending on your project you might have to watch out how kotlin compiles to Java bytecode it may have in rare cases issues that you don't have in Java.