Thanks to IS 214, I got to learn about Python. Besides learning the Principles of Programming Languages, the course also requires knowledge in programming (for me it means learning a new programming language). This will be used in the project to be submitted at the end of the semester.
Whenever I’m trying to learn a new PL, I always assume I got zero knowledge. This is to avoid being biased and to actually learn the fundamentals. There was no awareness in me about Python (before IS214). But it is not because of ill-feelings or negativity. It’s just that there was not yet a chance for an introduction. After all, my studies and work were into C, C++ and C#.
Being used to semi-colons, curly braces and having no regard for indentation, my challenge in learning Python was in actual coding. I had to check each line of my code if there’s a semi-colon at the end of the statement. I oftentimes got mixed up in using indentations. Python gave me more than just knowledge about a programming language but also improved my habits.
A big thanks to tutorialspoint. This is the main reference I used in learning Python. I like how they presented the lessons in a very simple manner.
===My 7 Tips for Python would-be Enthusiasts===
(1). Get a background in Object-Oriented Analysis or Object-Oriented Programming. This is a must because Python is an Object-Oriented Programming Language. Although it is possible to learn Python without orientation in OOA or OOP, you may not be able to utilize the full potential of Python or write an optimized Python code.
(2). Look for and use an IDE appropriate for Python especially if GUI is necessary for you to learn. I didn’t use this tip myself but only because I decided it was not needed for my assignments and project. I actually practiced and coded my assignments and project using the Notepad++.
(3). Allot an entire day to learn the language. It gave me more focus as compared to when I’m studying an hour each day.
(4). Please read and understand the BASICS. Yep. The first three chapters are very very important. It contains the FUNdamentals and the foundation of the language.
(5). Practice Python coding. Do not copy-paste the code from your references but actually type the code. Please. Even if it is just a simple code as “Hello World.”.
(6). If you are like me who has the habit of using curly braces and semi-colons, then be prepared to have lots of errors (or maybe not, depending on you). Most of the errors I got was due to this so before fixing a logical error, check for the syntax.
(7). Work on a project or machine/programming problem. It is better if the project do not focus heavily on the GUI but more on the logic of the problem such as using lists, tuples, dictionaries, loops and classes.
Do Not Forget to Have Fun.
P.S.
I tried my best to publish a post today only because… It’s February 29! Also, this made me remember I saw a romantic movie about a couple meeting only during the 29th of February which I don’t really find romantic but nonetheless, it was good.