If you want to learn to code, there are many languages that you can start with. Here's why you should learn Python first.
It wasn’t so distant a past when we were all excited about the new apps coming to town. At that time, everyone was talking about how tech opens doors to entrepreneurship.
In these short few years, we saw disruption moving rapidly, bringing insurmountable change to every industry it set foot in. What could be automated is now automated. What was once in pen and paper, can now be recorded seamlessly on an app.
Today, people are looking beyond just another app. People are looking for more intelligence and more efficiency in decision making.
If you want to learn programming, it is time to start. But beyond that, you need to understand how you will need to prepare for tomorrow.
There are many reason to why you would want to learn coding. You can, of course, start with other languages besides Python.
I’ve done a webinar on how to start coding and the considerations for you to start your coding journey in a more efficient way. This is based on my experience with >1000 students at NEXT Academy and their learning styles.
For this article however, I want to make a case for Python. Why Python, what you can do with it and why it will help you secure a better future.
According to Tiobe Index, Python is now the top 3 programming language amongst professional software developers.
Based on PYPL rankings, Python tutorial is most searched on Google.
On Stack Overflow (the sacred site for all developers around the world), Python has risen in ranks and is considered the most wanted language to be learned.
If you are wondering what is fuelling Python’s popularity, it’s because of its access to the new buzzword in town, “Machine Learning and Artificial Intelligence”. We’ll talk about that later.But why does popularity matter?
Here's why: When professional developers see value in learning Python, it results in community growth. The language will be used more often and more job opportunities will follow.
Learning Python now would mean that you are ready for the job market when the demand for developers who know Python increases.
Language popularity is often tied to a few factors. Aside from use cases, another reason is how easy the language is to pick up and learn.
Python fulfils both criteria. It can be used for a lot of things and it is relatively easy to learn.
Python is built to be simple, understandable and readable. It even has a list of aphorisms that spell out its core philosophy!
Here are a few of them:
Beautiful is better than ugly
Explicit is better than implicit
Simple is better than complex
People love describing it as “clean and elegant”. For me, one added advantage that Python has is its compulsory use of whitespaces (indentation) which is used to denote blocks. For example:
Whitespaces/Indentations help developers understand the relationship between each lines of code.
For other languages, that whitespace remains best practice, rather than compulsory. Thus, many newbie developers do not like adhering to that (…such code does not deserve to be shipped and deployed! NEVER!🤬).
But with Python, it matters. Do it wrongly, and you will alter the meaning of the relationship between the lines of code. This forces developers to implement this best practice.
Thank you Python! 🙌 Now code mentors and senior software engineers no longer need to cry over ugly, messy code.
When it comes to learning something new, what you need is good support. If a beginner is stuck learning something powerful without support, he/she will likely not go far.
When we use the word “open source”, it means “powered by community”. The bigger the community, the more use cases there will be. This means that it is easier for anyone who’s stuck to get help from the community. It also means that the language will continue evolving to be better.
Python has a diverse community. Aside from developers who use Python for apps and scripting purposes, it has ties with the world of academia.
Python is being used increasingly for research papers (mainly on math, stats, data science, machine learning, AI). This is because it is able to give researchers more access to functionalities. At the same time, it is free to use even for commercial purposes. (No worries on paying royalties when you want to patent something!)
This means that you have a huge scientific community backing you up when you need help.
Not just that, these days, higher learning institutions are using Python as an introduction to programming.
This would mean that the Python community will continue to grow.
Python is being used for scripting, web development, building simple games, natural language processing, data science, machine learning, AI, IoT and so on.
Why is it possible to do these with Python? It’s due to the extensiveness of its libraries and frameworks.
When the community grows and uses Python for different use cases, developers would build libraries and frameworks to make life easier for those particular use cases.
This is why having a diverse community helps.
For example, math libraries do not just appear out of thin air. It requires the community’s effort to build the library so that everyone like you and me could use it!
And with these libraries, developers and researchers in turn are able to get into data science, machine learning and AI and subsequently, build more libraries related to these disciplines.
Web frameworks were built by web developers, and they are constantly improving it so that next time you decide to build an app, it could take you only a few days to build a simple app as opposed to weeks and months.
When it comes to learning Python, it is really dependant on your goals. It provides you with the ability to venture into many fields and disciplines.
Now let’s talk about what you could do with Python.
Read the next article in this series 👉 What can you use Python for?