I did not care about the comparison between Python and Java. However, I was amazed at the author's point of view. Since I started using Python, I have never been able to express the wonderful experience it brings to me in words. Compare other languages I am familiar with, such as C/C ++, Java, Pascal, Assembler ...... It is very difficult to translate the design in your mind into a runable code, but Python brings me into the world of Power Scripting Language.
Python is very suitable for beginners. It also makes it easy for you to learn all the important programming and development methods in Python, including object-oriented.
I am talking about beginners not only for college students, but also for high school students or even lower grades. Therefore, it is very important to teach programming languages to understand what they learned from the very beginning. "Hello World" is the first program in almost every language. I will illustrate it as an example.
In BASIC: 10 PRINT "Hello world! "
For beginners, although each character can be understood, BASIC is also flawed-it is not powerful enough.
Look at C again:
#include
main()
{
printf("Hello world!n");
}
|
You must explain what functions, special symbols, and documents ...... However, during the initial study, students cannot understand the problem. They can only watch the alarm to continue learning.
Let's look at Java:
class HelloWorld { public static void main(String args[]) { System.out.println("Hello World!"); } } |
Like C, what are classes, class methods, parameter passing, arrays ......
Finally, let's look at Python: print "Hello World! "
That's simple. At the early stage of learning, there was no doubt or fear in your mind. Next you can explain to them what lists, hash tables, classes, and objects ...... I have discussed it with others, and many people have such feelings. Therefore, Python is the first language you need.
Why is Python the last language you need? As mentioned before, it is an excellent language that introduces programming and other development concepts. At the same time, it is also a language that can be used to build real applications. I won't say much about this. If you search for it on Google, you will know that there are too many people who have achieved a successful application using Python.
Learning Other languages can expand your development thinking and make you have more choices when facing tasks. However, with a language like Python, you can easily learn programming and build a wide range of applications in practice. I strongly recommend it!
Related Articles]
- Comprehensive Test of Python and Java running speed comparison
- Red Hat upgraded python in March 10