Problem solving is a huge part of computer science. In fact computer programming is basically the process of solving a problem with code. These problems are solved by means of algorithms. An algorithm is a step by step instruction to solve a problem.
We implement algorithms in many aspects of our lives even without knowing it. For example if I wanted to make a cup of tea, I would take the following steps.
Think of functions as vocabulary in human language. Different vocabularies help us to avoid repeating the same words. For example, Instead of saying “human being between the age of 13 and 19”. You can use one vocabulary, teenager. That gives you the freedom to use the word teenager to form different sentences without having to confuse yourself.
Functions follow a similar pattern, they allow us to wrap a whole program into one single expression. We can then call this expression our new vocabulary. We can then use it anywhere in our program to do different things. …
So, yes, it’s official, I’ve been coding for one year now. I must say, this has been one of the most challenging years of my life. I’ve hit my head on the wall countless times, learned and accomplished a lot in the past year.
In this article, I am going to share seven tips based on the challenges I’ve faced and the things I’ve learned along the way.
Disclaimer: This is not going to be one of those “I wake up at 4 a.m. every day, switched careers in three to six months while coding at least 12 hours a day” articles. …