What is Computer Programming / Coding?

Computer programming or coding is the process of writing instructions for a computer to execute. Computer programs are often referred to software and can achieve many different things. For example, there is software inside your microwave, television, smart phone and much more. Most people believe computers are smart where as in reality they’re dumb.

Creating a program is similar to creating a cooking recipe. You create a list of required ingredients (or variables) and a list of things to do to create the food. You could create a recipe for chocolate chip cookies, or you could create a computer program that allows you to play Noughts and Crosses (Tic Tac Toe).

The difference between a recipe and a computer program is that the computer will do exactly what you tell them to do because computers are dumb. Whereas someone following a recipe may miss steps or add their own. In regards to our cookie recipe someone may add more or less chocolate chip cookies, or double the ingredients to make a double batch.

A computer will do exactly what you tell it to do. A computer would follow our cookie recipe exactly without ever deviating from the instructions. A lot of developers forget this an it often leads to bugs or problems in their code.

Leave a Reply