Person typing on laptop
Person typing on laptop
Image from Unsplash.com

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.

  1. Walk to the kitchen
  2. Find the electric kettle
  3. Grab the electric kettle
  4. Walk to the sink
  5. Fill the kettle with water to capacity
  6. Boil the water to…


A comprehensive introduction to functions in JavaScript.

Image from Unsplash.com

Functions are a very important concept in JavaScript. Functions can be compared to building blocks. So Understanding them is one step toward true JavaScript mastery. In this article i am going to go over the basics of functions.

What is a Function?

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…


Reflections on 365 days of being a programmer

Photo by Devon Divine on Unsplash

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…

Joel P. Mugalu

Front-End Developer. Connect with me on Twitter @codingknite

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store