What is the reason Python is important to programmers?

Source: Internet
Author: User
Fredrik Haard, the father of Python, recently published an article on "Why Python is so important to you", which has been hotly debated by developers.

I believe Python is important to software developers. Many programming languages have been created today, and they all have their own distinct features: the powerful such as Lisp, Fast as C, using a wide range of Java, such as the strange like Haskell. Unlike these languages, Python is a more moderate programming language that blends many of the features of the language, and so far I have not had other languages like python to coordinate.

Python knows that developers spend much more time reading code than writing it, so focus on directing developers to write easy-to-read code. Of course, Python can also write obscure (obfuscated) code, but the most comfortable way to write code is still (if you know Python) to be moderately refined: The code always clearly reflects your intentions. This is important. Developing with Python is a breeze. Even a lot of libraries can be written perfectly in Python to make them easy to read (you can compare the framework implementations of other languages, such as spring in Java).

Also python realizes the importance of development speed for developers. Easy-to-read and refined code is only part of it, and the other part depends on a powerful constructor that avoids many tedious and repetitive code. In addition, maintainability is also important-the number of lines of code (line of Code,loc) appears in many of the metrics results, which may not be useful, but at least it shows how much code you need to review, how much code you need to understand, and what you can do to find the problem.

In addition, Fredrik Haard also mentions another advantage of Python--toolmaking.

Rapid software development speed, concise skills (other language developers can easily grasp the basic skills of Python), a large standard library to maintain this advantage. Any project will encounter task automation tasks, and in my experience, automated tasks written in Python are an order of magnitude faster than other mainstream languages-in fact, that's why I'm learning python. ......

If you want to learn Python can come to this group, first is 472, the middle is 309, the last is 261, there is a large number of learning materials can be downloaded.

The ability to easily develop custom tool also contains another layer of meaning: it is also easy to develop and maintain custom software. That's why, after the huge Django became the most famous Python web framework, there was still a lot of success in small and even miniature frameworks. When using a powerful programming language, with a large number of standards and third-party libraries, you don't often need to consider compromises (trade-off), which is bound to happen when using many of the ready-made (off-the-shelf) large frameworks.

According to Fredrik's point of view, it is important to write software that fits well with the customer model rather than a framework. Many developers spend their time in framing and masking their weaknesses rather than real development.

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.