Java VS Python should first learn what?

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

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

Java and Python are present two kinds of giant fire giant powerful programming language, for students just beginning to learn programming, it is very confusing, the most frequently asked question is, should I learn Java or Python, Python is not easy to learn, or the question of what programming language, and so should be recommended for beginners. Because I am a Java programmer, my opinion is obviously biased, I would suggest that you first learn Java, then learn Python, but if you ask a Python programmer, you might get the opposite answer. I have stated in great detail my reasons why the Java programming language is the best  and why a programmer should learn Java. One very important reason that you can see in this blog is that you can help point you in the career of powerful Java community. You can ask some newbie questions such as "how to set the PATH and classpath", and then to some high-level questions about debugging Java program in Eclipse, no matter what the problem, the community will always be people ready to answer your questions to help you. This is why the StackOverFlow all Java problem. In addition, Python is no longer a callow spring chicken, but it has grown and mainstream programming languages like Java, C ++ had a fight. When I came into contact with Python, I think it is a scripting language, but later found that this is a misunderstanding. You can also object-oriented programming in Python. For starters, I often recommend choosing an attractive, simple and more powerful, and has a strong community-supported language to learn. Now Java and Python conditions are met just said, even after you've done some great comparative analysis, which should still difficult to arrive at language learning. Fortunately, we have information graphics, may indicate some important differences between Python and Java, then I'm sure seen this icon, you can make the decision that is right for the introductory language!

Chart: Python and Java differences

chart
If the map is very slow, see:  they shoot diagram on the cloud 
icon Source:  http://blogs.perceptionsystem.com

From this chart, you can easily see Java than Python wordy. Reading a file to write 10 lines of code in Java, and Python, as long as the two lines. This is Python advantage, since the absolute novice programmers prefer to write less code, the second point is about the static variables, dynamic variables. My point is that, for the novice, you need to strongly typed language and compiler to detect rigorous commit the code two. In Java, you will not see in a string variable and then store an integer variable. So, on this point, I voted for Java. Execution speed, which is the lifeblood of enterprise applications, you can see the Java faster than Python, but remember, you need to compile in order to run Java programs, but do not compile Python programs can be run directly. Python console can be directly interpreted python command, which means easier for the novice! So now Python and Java 2: 2, even. You can also look at Java,  hello world  than Python requires more lines of code. The remaining chestnuts: D, you can own analysis, but in the end prove both ability is the same, no one is poor. As a Java developer, I can from my personal experience, learn Java and then use it as a career programming language, you will not regret it. Of course, you can learn at any time Python, and to write some small set of tools useful, but after all, Java is Java.

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

Reproduced in: https: //www.cnblogs.com/kungfupanda/p/4601950.html

Guess you like

Origin blog.csdn.net/weixin_34416649/article/details/94493543