How to learn to code

picture credits: Christopher Gower

I started coding at 15 or 16 in school, and back then, it was already a hard thing to do. It was so daunting that I promised myself to not go into the computer science field. Here I am today doing a computer science degree at university. I wanted to share my thoughts on how you can learn to program and flip the switch too and make an excellent app someday. Starting coding with zero knowledge can indeed be uneasy, and with these strategies, you can create your coding journey a pleasant and rewarding experience.

Step 1: Do you know basic math:

picture credit: Crissy Jarvis

Many of the programming principles being taught in college have a direct link with math. All you need is to some basic math like algebra, sequences and series, et cetera. Having a basic understanding of high school math can lead you to a road to success in becoming a programmer. Generally speaking, the more math you know, the better! However, it is not a compulsory requirement.

Step 2: Create a routine:

picture credits: Emma Matthews

I learnt to code in college and high school. However, I have friends who did not receive any formal computer science education but still learnt to code and got well-paying jobs. They did this by following a weekly schedule to learn the stuff. In the end, it all boils down to you creating a schedule and learning. Coding can at times be frustrating, especially when you are in the learning phase. Be it you started learning Java or python or any programming language, and you will run into errors in your code. You may also run into things that you cannot make sense of at all. But my advice is not to get discouraged. All of these hurdles are part of the process to become a better programmer.

Step 3: Do the work!

picture credit: ian dooley

Now that you created a routine, it is time to start coding! As a beginner, pick a programming language and start learning from there. There are many coding languages like Java, JavaScript, Python, C, C#, et cetera. Do not be alarmed; you do not need to learn all of them in one go. All these languages have similarities in them. An analogy here would be the case of different languages in this world; all the people are trying to do is communicate with each other but in different languages. It is the same case with computers. You are just talking to the computer, be it Java or JavaScript! Now you might ask, well French and English are entirely different languages. But I promise this analogy is just for explanation purposes, and in real life, in fact coding languages are a lot similar to each other. Remember, the concepts like conditionals, looping, and data structures that you learn are the ones that count. Hence, pick a language and start learning!

Summary:

Learning to code to this day is a vital skill. For some, it may be daunting at the start, but with efficient scheduling and hard work, the sky is the limit! So good luck with your coding journey!

Hi, I am computer science student