Which one should I learn first in Java VS Python ?, Vspython

Source: Internet
Author: User

Which one should I learn first in Java VS Python ?, Vspython

Http://blog.segmentfault.com/hlcfan/1190000000361407

Http://www.tuicool.com/articles/fqAzqi

Java and Python are currently two very popular programming languages. For those who are learning programming at the beginning, they are very confused. The most frequently asked question is, I should learn Java or Python, whether it is easy to learn Python, or what programming language should be recommended for beginners. Because I am a Java programmer, my opinion is obviously biased. I suggest you learn Java first and then Python, but if you ask a Python programmer, you may get the opposite answer. I have already elaborated in great detail on why Java is the best programming language and why a programmer should learn Java. One of the most important reasons you can see in this blog is that it helps you identify the powerful Java Community of your career. You can ask some newbie questions, such as "how to set PATH and classpath", and then some advanced questions about debugging Java programs in Eclipse, there will always be people in the community preparing to answer your questions to help you. This is why StackOverFlow is a Java issue. In addition, Python is no longer a cool yellow boy, it has grown and has a fight with mainstream programming languages, such as Java and C ++. When I started to get familiar with Python, I thought it was a scripting language, but later I found this was a misunderstanding. You can also perform Object-Oriented Programming in Python. For beginners, I often suggest choosing an attractive, simpler, and more powerful language with strong community support. Now both Java and Python meet the conditions just mentioned. Even after some great analysis and comparison, it is still difficult to determine which language to learn. Fortunately, we have information graphics, which can point out some important differences between Python and Java. After I have read this icon, you can make a decision that is the correct entry language!

Infographic: differences between Python and Java


If the graph is slow, you can see the graph on the cloud again.
Icon Source: http://blogs.perceptionsystem.com

From this chart, you can easily see that Java is better than Python. Reading a file in Java requires 10 lines of code, but only two lines in Python. This is Python's advantage, because novice programmers absolutely like to write very little code, and the second is about static variables and dynamic variables. In my opinion, for new users, you need a strong language and a rigorous compiler to detect second-class code. In Java, you will not see that an integer variable is stored in a string variable. So, in this case, I vote for Java. The execution speed is the lifeblood of enterprise-level applications. You can see that Java is faster than Python, but remember that you need to compile to run Java programs, while Python programs do not need to be compiled to run directly. The Python console can directly explain python commands, which is easier for beginners! So now Python and Java are 2: 2, even. You can also see that the hello world in Java requires more lines of code than Python. The remaining chestnuts are as follows: D. You can analyze them by yourself, but they prove that the two capabilities are the same. As a Java developer, I can learn Java from my personal experience and use it as a programming language of my career. You will not regret it. Of course, you can learn Python at any time and it is useful for writing small toolsets, but Java is actually Java.

Source: http://www.tuicool.com/articles/JbyEnq

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.