What is better, Python or Java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is better, Python or Java ?

26th Dec 2020, 7:11 AM
Amar Delic
32 Answers
+ 9
There is no way to compare a dynamically-typed, interpreted, scripting language with a statically-typed, compiled, programming language. Java has speed, performance, structure and most importantly types, while Python has simple syntax, a lot of modules and makes it easier to deal with big numbers making it suitable for things like machine learning. You have to decide what features you want and choose your language accordingly. BTW please stop asking for comparison between languages. Find the language that suits your needs more than the other languages.
26th Dec 2020, 11:35 AM
XXX
XXX - avatar
+ 9
What is better brain or heart? Obviosly both are important. You can't compare them. Both are needed for specific functions. The same way every language related. You can't compare them.
26th Dec 2020, 2:39 PM
Aradhay Mathur
Aradhay Mathur - avatar
+ 6
Kotlin will kill java...go for python
28th Dec 2020, 5:43 AM
Pro Coder
Pro Coder - avatar
+ 5
Neither is better. They each have their own uses.
26th Dec 2020, 10:51 PM
Aria
Aria - avatar
+ 5
Both are good and useful. Which one to choose is depends on your use case.
27th Dec 2020, 5:20 PM
husen
husen - avatar
+ 5
A Green Hat Hacker i dont know about this why i study python ;-;
29th Dec 2020, 12:05 AM
Andrea Barreto
Andrea Barreto - avatar
+ 4
Both.. But python is simpler than java.
27th Dec 2020, 9:25 PM
Samira
Samira - avatar
+ 4
For beginningers is Python but if you like of texts is java
27th Dec 2020, 10:20 PM
Andrea Barreto
Andrea Barreto - avatar
+ 3
Python is more productive language than Java. Python is an interpreted language with elegant syntax and makes it a very good option for scripting and rapid application development in many areas.
27th Dec 2020, 3:01 PM
Mr. Unknown
+ 3
Both are best languages now python most popular than java. But you had better learning both languages. Python is strongly and makes very easy to write and read.
28th Dec 2020, 4:50 AM
{H}asintha Ranaweera
{H}asintha Ranaweera - avatar
+ 3
if you are interested in data science and scripting, python. everything else, Kotlin(java)
28th Dec 2020, 5:18 AM
Chad Williams
Chad Williams - avatar
+ 3
From time to time, both languages ​​are better. This is not to say that which language is better Happy Coding 😊😊
28th Dec 2020, 5:37 AM
Karan
Karan - avatar
+ 3
Hello, Excellent question. If you are starting out as a complete beginner, I would recommend Python. In my experience, Python is an easier language to write compared to Java. For instance, when outputting a String on the screen (or on the console), in Python, we would do something like print ("Hello world"), but in Java, the command is longer, which is System.out.println("Hello World"); This happens with a lot of commands in the Java language. So, in my experience as a programming teacher, I have noticed that students enjoy the simplicity of writing code in Python compared to the more extended commands in Java. Consequently, making the learning experience for students that are beginning to learn how to code. In addition, in Python, you don’t have to worry about declaring the type of a variable. That is if you want to declare an integer variable, in Python you don’t have to tell the computer to do so (as a simple way of explaining it). On the other hand, in Java, you have to declare the variable with the type. So, my recommendation is to learn Python first, then Java. More on this topic, check out the video below. Or you can read this article. I outline on the video how to choose a language if you have a goal in mind when it comes to learning how to code. For example, if you want to land a job in a specific area of the technology industry, such as web development, etc. But if you don't have any goal right now, and you are just learning how to code for fun, I would recommend learning Python first, then Java. I hope this will help you
5th Jan 2021, 4:55 AM
Ishan Shah
Ishan Shah - avatar
+ 2
26th Dec 2020, 7:12 AM
Mikicrep
Mikicrep - avatar
+ 2
Python bro
26th Dec 2020, 1:17 PM
Hariom
+ 2
Thomas I was telling it by my experience..
27th Dec 2020, 6:04 PM
Apeksha jadhav
Apeksha jadhav - avatar
+ 2
Phyton very very good
27th Dec 2020, 6:49 PM
Marc Goma Vicent
Marc Goma Vicent - avatar
+ 2
Martin Taylor Should I ask these fanboys on what basis they are saying Python is better than Java? Or will I be the dumb one hoping that I will get senseful answers from them? This thread has been in my notifications for the past 1 day, and everytime I come here to see what answer has been posted, all I get is just one word "Python" (most of them can't even spell Python properly) EDIT: Now some Java fanboys are also coming in. Can't these guys at least see if the languages are comparable or not? I am unfollowing this thread now.
27th Dec 2020, 6:54 PM
XXX
XXX - avatar
+ 2
Both are great, doesn't matter which you learn.
27th Dec 2020, 8:53 PM
Constantin-Mădălin Vulpe
Constantin-Mădălin Vulpe - avatar
+ 2
.
27th Dec 2020, 10:04 PM
محمد عصام احمد
محمد عصام احمد - avatar