Why Should Python be your First Language?
I am a bit biased when it comes to Python since it was my first love 😍. I first used my Sophomore year of high school doing small-scale projects like adventure games and tic-tac-toe to get our footing.
I'm going to be completely honest when I was younger covering computer science and engineering was the worst part of the curriculum. I was more interested in mechanical engineering and physics at the time, however, the college had other plans for me. It was so benign. One day it works, one day it doesn't. A period here and indent there. So meticulous and tedious!
Since finding a newfound appreciation for it and relearning the program for automating and data projects, I would like to share why Python should be everyone's first programming language:
Since finding a newfound appreciation for it and relearning the program for automating and data projects, I would like to share why Python should be everyone's first programming language:
Python this, Syntax that!
One of the most daunting tasks of learning how to code is getting used to writing and reading something you have never seen before. Java, Python, HTML, C, and more are programming languages. You can't learn a new language in a day. If you woke up tomorrow in Japan you are going to struggle. Programming languages use syntax; a standardized format that allows your program to be legible to the system to execute your task. Every coding language uses a unique syntax. The versatility of languages we use to communicate can be reflected in programming languages. For example, White House, Casa Blanca, and Howaitohausu (ホワイトハウス) mean the same thing. We can begin with the adjective, the noun, or have a whole new word to describe the same thing. Woah when did this become an English lesson? Anyways, Python is cool because it was made to be easy to understand. It follows a similar syntax to English.
Autocorrect, Our Savior.
Python is an interpreted language. This allows users to run each line of code to check immediately for any needed adjustments. It will show you the exact line and recommend a fix similar to autocorrect or the red squiggly line of doom in Word. This is a big help to first-time coders (and those who are more seasoned). It saves so much time!
Who Said You Can't Have It All?
There are so many projects that can be accomplished on Python and used in many industries! The versatility of Python is thanks to the community of Python creators who made 120,000+ libraries (pre-written code anyone can access) that can make complex projects a breeze! Look at all you can do with Python:
Another great function of python is the ability to run with different programs; Jython and CPython are examples of Python's implementation with other languages. Finally, Python can be used cross-platform; Windows, Linux, and macOS users can function this language fully.
My Projects and Source Codes
Tic- Tac-Toe
Here's a very simple project. A game of Tic-Tac-Toe a game almost as old as time itself. This is a very primitive version of this game. If you're feeling snazzy and want a challenge you can download the turtle library, which enables graphics and drawings to create a board. This is great for beginners or for anyone who wants to get started in game development.
Fenty Foundation Finder
This is my take on the simple color detector project you can find on the internet check out this post and YouTube video for a better idea. This one involves a few more steps as you will actually need to download (1). Python to your computer and install the OpenCV, Pandas, and NumPy libaries. This YouTube video was really helpful in the installation process. (2). You will also need a CSV file of the shades, tones and RGB codes... I wonder who has enough free time to make something like that. I already did it for you 😒 FentyShades.csv. (3). A .jpg of yourself (or subject) with great lighting!
Automate Your Sneaky Link *Bonus*
An extra project just in time for V-Day! Okay, I seen this one on YouTube a few years ago and had to recreate it. YouTuber, Bukola is great resource and awesome personality. This program will send a text to your boo at the same time everyday. This combines a few skills like randomizer and schedule. Unfortunately, I have no "Lil' Winter Ting" so I'm going to spam my friends 🤷♀️. Click here to find the original source.
Comments
Post a Comment