Select a Category

Why it is good to learn Python?

Backgroup

Recently, I recommended that my kid to learn Python because I think it is good for a kid to know some basic computer programming. Specifically, I think Python is a good language to start.

According to bitdegree.org (https://www.bitdegree.org/tutorials/most-used-programming-languages/), Python is the #3 computer programming language. The top 10 most popular computer programming languages are:

  1. Java
  2. C
  3. Python
  4. C++
  5. Visual Basic .NET
  6. C#
  7. JavaScript
  8. PHP
  9. SQL
  10. Objective C

I have experience in Java, C, C++, VisualBasic, PHP, Ruby and other programming languages. But I think Python is the computer language to most people to learn.

Advantage of Python

First, Python is cross platform, you can use it on all three major operating systems: Windows operating system, Mac operating system and Linux system. You learn one language and you can use it everywhere. C and C++ applications are supposed to be cross platform, but they require re-compilation if use in other platforms. Java, like Python, is truly cross platform. That is one reason that Java is the number one in the top ten computer programming languages.

Second, Python can perform at local level as a local application. It also can be used as web server or used as part of a web page. Actually, Google made a decision at its beginning that “Python where we can, C++ where we must.” Netflex, Facebook, and InstaGram among other Internet giants are using Python.

Third, there are a lot of ready made packages in Python for other users. A lot of programming languages tried to make its code re-usable. However, in my opinion, Python finally reaches this goal of re-usable code. You can find a package for most of your needs. If you need connection to Oracle database, you can install cx_Oracle. If you need to create a web server, please install Python Flask. If you want to create game, you can install PyGame… Packages not only make code easier, several lines of code can perform task that takes thousand lines of code in other language, but also make code easy to understand and maintain.

Four, Python is easy to learn. Python does not require programmer to declare variable type at the beginning, which is hard for new programmer to understand. Also, being a scripting language, programmer can run the code without compilation.

Drawbacks of Python

There are drawbacks of Python language. Mainly, Python’s performance is not as good as some low level languages such as C, C++ or C#. Secondary, programming graphic user interface (GUI) in Python isn’t as easy as other packages, especially GUI for Windows platform, which Microsoft Visual Studio dominates.

Conclusion

Overall speaking, Python is an excellent language to learn. It should benefit the one who learns it for a long time to come.

Comments are closed.