Python: the first and last language you need

Source: Internet
Author: User

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
  • Ruby or Python?
  • Red Hat upgraded python in March 10

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.