Today's Question:  What's your opinion about Alibaba mooncake incident?        GIVE A SHOUT

Technical Article => Programming =>  Python

Learning Python as your first programming language

  sonic0002      2014-04-07 05:36:04      7,959    0    3

Python is a widely used general-purpose, high-level programming language Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. Python now becomes more and more popular and is now being used the first teaching language in some universities. Why would you like to learn Python as your first programming language? Below are the reasons.

  • Python is a high-level language with dynamic typing. It means it won't bother you with things like pointers and memory management, and provides you with an environment which is as programmer friendly as possible. If you want to learn low-level or system programming it is actually a flaw, but if what you want to do is quickly understand what programming is and develop your first applications it is a big merit.
  • Python has been designed to be quite close to natural language. Some expressions are actually almost literally understandable in English. That will help you quickly learn the syntax and understand sample programs.
  • Python is an interpreted language. Well, bytecode is generated so it is not completely true, but for most practical aspects it behaves as an interpreted language. That provides you with an interactive command line interface that can be very convenient when learning the language or a new library. It also avoids the issues and extra complexity that can sometimes arise from compiling and dynamic library linking.
  • Python forces you to use a consistent indendation. It will help you write cleaner code and, up to a point, better structure your programs.
  • Python is reasonably cross-platform. Most of your code will run on GNU/Linux, Windows, MacOS or more exotic systems with minimal adjustments.
  • Python is general-purpose language with many libraries, widely used in many real projects in the private and academic world. It has a lot of documentation, guide, tutorials and a very reactive community. And you will learn a real language that you can actually use to do "real" stuff instead of a toy language for beginners.

With above reasons, hope you can make up your mind easily on choosing the language you want to learn first.



Share on Facebook  Share on Twitter  Share on Google+  Share on Weibo  Share on Reddit  Share on Digg  Share on Tumblr    Delicious



No comment for this article.


When writing concurrent program the first time

By sonic0002