Usage of Java over Python. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Usage of Java over Python.

What is the point of using a language like Java, that simply requires more code to do the same task that can be achieved using much fewer lines of code in a language like Python?

11th Dec 2017, 4:14 PM
Rahul Y
Rahul Y - avatar
1 Answer
+ 3
Java doesn't have crappy, annoying syntax like Python does. Java is platform independent, so you'll be able to more easily reach more platforms than you will with most languages; the main source of Java's popularity. Overall, I feel less restricted, annoyed, and more capable of all tasks when dealing with Java. Python just doesn't have that same feeling to it, and I find it to be more limited on what all I'm allowed to do compared to nearly any other language I use. Java does most things -easier- than C++ does, but just like this scenario, that doesn't mean it's more capable or better than C++ just because it can do certain things in less line of code. Having training wheels on your bicycle doesn't mean you're a superior bike, it just means you accommodate for people that don't know how to actually ride a bike.
11th Dec 2017, 4:20 PM
AgentSmith