Learning a new programming language should not begin with data types, keywords, data structures, and functions. It must start with the philosophy. It must start with the abstraction.
Mastering the abstract will add rich flavors to your learning experience provide a wholesome understanding of all the dimensions of language and what makes it unique.
Python was a general-purpose programming language created by Guido Van Rossum in the late 1980’s and got released in 1991.
Now it is one of the most popular languages for data analysis, artificial intelligence, web development and even game development.
Python can be abstracted in three words as, simple, readable and object-oriented.
The Zen of Python
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one– and preferably only one –obvious way to do it.
Although that way may not be obvious at first unless you’re Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it’s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea — let’s do more of those!
Keeping the philosophy of the language close to my heart and fingertips has helped me befriend this gentle Python. I am sure you will as well.
E-mail us at firstname.lastname@example.org to inspire our readers with your story – be it your success story or a lesson learned, share what you learned or send some love to a friend. We would love to hear from you!