What should Java VS Python learn first?

Source: Internet
Author: User

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

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

Java and Python are the two great powerful programming languages of the moment, for students who are just beginning to learn programming, it is confusing, most often ask the question is, I should learn Java or Python, is not python easy to learn, Or what programming language should be recommended for beginners, and so on. Because I am a Java programmer, my opinion is obviously biased, I would suggest you learn Java first and then learn python, but if you ask a Python programmer, you may get the opposite answer. I have stated my reasons in great detail 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 the powerful Java community that can help you identify your career. You can ask some novice questions, such as "How to set PATH and Classpath," and then to some advanced questions about debugging Java programs in Eclipse, no matter what the problem, there will always be people in the community ready to answer your questions to help you. That's why the StackOverflow is all Java-related. In addition, Python is no longer a brat, it has grown and has a spell with mainstream programming languages like java,c++. When I started to touch Python, I thought it was a scripting language, but then I found it was a misunderstanding. You can also do object-oriented programming in Python. For beginners, I often recommend choosing an attractive, simple and powerful language to learn with strong community support. Now that both Java and Python meet the conditions that you just said, it's still hard to tell which language to study even after you've done some great analysis comparisons. Fortunately, we have an information graph that can point out some important differences between Python and Java, and I'm sure that after looking at this icon, you can make a decision that is the right entry language!

Infographics: Different points of Python and Java


If the picture is very slow, look at it: Another picture on the cloud
Icon Source: http://blogs.perceptionsystem.com

From this chart, you can easily see that Java is more verbose than Python. Read a file in Java to write 10 lines of code, and only two lines in Python. This is a Python advantage, because novice programmers absolutely like to write very little code, the 2nd is about static variables, dynamic variables. My point is that for beginners, you need a strong type of language and a rigorous compiler to detect the code that makes two. In Java, you do not see that the integer variable is stored in a string variable. So, in this case, I vote for Java. Execution speed, which is the lifeblood of enterprise applications, you can see that Java is faster than Python, but remember that you need to compile to run Java programs, and Python programs do not compile to run directly. The Python console can explain Python commands directly, which means it's easier for beginners! So now Python and Java 2:2, are even. You can also see that Hello World in Java requires more line code than Python. The remaining chestnuts: D, you can analyze for yourself, but finally prove that both abilities are the same, no one is bad. As a Java developer, I can learn Java from my personal experience and use it as a programming language for my career, and you won't regret it. Of course, you can learn Python at any time, and it's useful to write some small toolset, but Java is ultimately Java.

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

What should Java VS Python learn first?

Related Article

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.