+ 3
What is better, Python or Java ?
35 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.
+ 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.
+ 6
Kotlin will kill java...go for python
+ 5
Neither is better. They each have their own uses.
+ 5
Both are good and useful. Which one to choose is depends on your use case.
+ 5
A Green Hat Hacker i dont know about this why i study python ;-;
+ 4
Both.. But python is simpler than java.
+ 4
For beginningers is Python but if you like of texts is java
+ 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.
+ 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.
+ 3
if you are interested in data science and scripting, python. everything else, Kotlin(java)
+ 3
From time to time, both languages are better. This is not to say that which language is better
Happy Coding 😊😊
+ 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
+ 2
Python!!!
+ 2
Python bro
+ 2
Thomas I was telling it by my experience..
+ 2
Phyton very very good
+ 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.
+ 2
Both are great, doesn't matter which you learn.
+ 2
.