When you google around, you will find out that they will tell you about what’s the definition of coding, different programming languages, how you can start coding, is coding hard, blah blah blah. To be honest it’s just not the stuffs I wanted to know (alright maybe its just me who feel like that).
Years back, I only start to know about ‘coding’ when I finished my matriculation (19 years old, sorry for being so inexperience T.T) and decided to get a degree in Computer Science. At that time, I wish to have a big and clear image about what exactly is coding. For example, who really suits coding? What’s the realistic usage of learning coding? Why do I even want to learn them? Is it fun?
Now, after 3 years of study in this field, let me tell you what I think you need to know about coding.
Who suits coding?
I would say, people that doesn’t give up, lots of patience, love problem solving, like to learn new stuff from google, curious, and love to get everything planned before executing something (yeah all the positivity). It takes time to develop coding skills, just like how long we take to master our languages to be able to communicate with others, or drawing skills. In my humble opinion, coding is all about logic, and is a tool to implement humans’ idea into the computer.
Coding = Programming = Communicate with Computer = Problem solving
Let’s think. We talk to people surrounding us. The people listen (input) and replied you by voicing out through their mouth (output). What’s happening in the middle? Analyzing, building up sentences.
Similarly, when I double click a document in the desktop with a mouse (input), the CPU process it, and open the documents for me (output). In this case, coding is acting as a bridge of communication between me and my computer. In short, coding is about guiding computer what we humans desired and wanted them to do. But how? Using programming languages.
C, C#, C++, Python, Java, Javascripts … so many programming languages, which one to pick first?
We use English, Chinese, Japanese and many more languages to communicates among humans. Similarly, we use C, C#, Python and many more programming languages to communicates with computers, and each of them has their own advantages (faster, easier and etc.).
So, which languages should I start? In my opinion, is any one of them. Preferably I will choose C++, Java, or Python to kick off my coding journey. Why? Because I know thenewboston and Corey Schafer, two YouTubers which I strongly recommended for beginners to watch either one of the programming languages series in their channel from start to the end. Why? Because they teach everything we need to know with great details and simple explanation ever in the planet earth (you get the idea).
All programming languages have the same concepts to master.
In general, the world or computer is all about 0 or 1, ‘a’ or ‘b’. For example, should I continue to read this article, or just quit and find a better one? (please read till the end luv u).
All the languages share the same structures, and all the programs now available in the world implemented these concepts. I will list out the most basic blocks here to be mastered for new coder:
-
Math operations (how to 1+1 using programming languages)
-
Types of variables (integer, float, string, Boolean etc.).
-
If-else statements.
-
Loops (For loop, While loop).
-
Receive inputs and giving outputs.
Let me get a very simple example for you.
I just wake up from sleep in the morning. There are two options for me: get ready or continue to sleep. If today is school day, then I probably will get up and get ready. Else, I will continue to sleep. In this scenario, I can code it using ‘if-else’ statements to let the computer act like me:
if iamwake():
if schoolDay == True:
getready()
else:
sleep()
If I wish to execute this while I am alive, I can simply add a while loop outside:
While True:
if iamwake():
if schoolDay == True:
getready()
else:
sleep() if iamdead():
break
(By the way the language I used here is called Python.)
Once you mastered all the basic concepts underlying a programming language, learning other languages will not be a hassle too (you know I know you know it). With these concepts, depends on your creativity, you can build any programs based on the basic concepts.
What problem solving really means in coding?
One of the world’s problems is about the repetitive jobs. There’s term you can search for to get the idea: ‘RPA — Robot Process Automation’. Just a quick example on what you can really do in RPA:
-
Create a bot to help me reply in my business (Chat Bot)
-
Generate reports based on the daily excel report and email them to the targeted email list. (Daily business reporting)
-
Generating e-certificates with names listed in a file (sorry I am running out of ideas).
Of course, coding can solve way more problems that I can’t possibly list them all. When you understand how to have a basic communication with the computers, coding will become super fun.
To challenge yourself, click here, press on contest tab, navigate to any contest (for example Weekly Contest 254), scroll down, and pick any problem from the problem list. And that’s where you can test how well you can communicate with the computer to solve real life problem. These questions meant to be enhancing your skills in data structure, which is about maximizing the program efficiency and minimizing the memory usage.
Good resources to learn coding that I have come along.
Without saying a bunch of useless stuff (which I did now), let me list down the useful resources with the reasons:
-
GitHub — Heaven for the coders. It is a public community where people codes and build useful programs. You can have a glimpse on how the other people code to make a program work. For example, InstaPy, an Instagram bot that follows, likes, and comments on behalf of you in your Instagram account.
-
W3School — Often my choice when it comes to learning new syntax (which basically means new programming languages).
-
Hackerrank and LeetCode — Recommended for everyone in any levels, as the questions ranges from easy to hard. It’s a platform that offers questions and solutions for you to enhance your coding skills.
-
Youtube — Netninja, CrashCourse, TechWithTim. (Google it and you will know).
-
StackOverFlow — You will eventually know this if you start to ask questions about coding in Google hahahahaah.
-
Online learning — Coursera, Udemy, Free Code Camp, Code Academy, Brilliant Org, Data Camp and many more (Provide certificates for you to prove although some time its pointless its just a motivation for you to complete the courses marketing strategy although I know I still fall in it but I did learn something so its good).
These resources will be more than enough to destroy your holidays.
Final Words
Thanks for reading until here. My apologies if I told the stuff that you not really wanted to know and get irritated about it (chill bro chill).
Do comments down if you have any unsatisfactory and let’s have a chat and le me know your thoughts hehe. Peace 😊.
Keywords to search to improve your skills in coding.
Data Structure, Dynamic Programming, Best practicing when writing codes…