Similarities between coding and cooking

Siddhartha Raju
2 min readMar 13, 2018

Cooking is one of those activity that everyone does at least once in their lifetime. You just need the knowledge of the ingredients and envision a dish. Similarly in a few years coding will be something that most of the people will be doing once in a while to serve the growing demand of the skills in this competitive world. Both of them are are very different and yet they are the same when we talk about the basic.

People who do cooking are known as Chef and people doing coding are known as coders or programmers(in some specific cases). To become a good chef we need to understand the flavors of the ingredients that we are going to play around. Similarly to become a good programmer we ned to understand the flavors of a programming language. Flavors of programming language? Is python hot? Is Java creamy? No, when we talk about the flavors of programming language we mean different functionalities that it could add to our code like OOPS(Object Oriented Programming). So once we have understand the flavors of our ingredients we envision a dish or end product that we want to make. With experience we understand the quantity of our ingredients how much to add and whether we really need it or not.

The more you cook the better chef you become.The more you code the better coder you are

“Do not practice until you get it right but practice until you stop getting it wrong”

The more practice helps us learn more. This is mostly true in whatever we do. The important thing is what we practice.It is important to understand the skills we are good at.A curry chef may not be good in baking similarly a backend programmer may not be good in UX designing. It is important to master one and then move to other.

Innovate and improvise

For a chef it is easy to read a recipe and cook but great chef do not read recipe rather they create their own recipe and improvise. Similarly for a coder it is important to build their own logic rather than looking at what other have done and try to improvise in areas like space time complexities.

I hope this article will help everyone understand that coding is not rocket science. It can as easy and as difficult as our day to day activities. We just need figure out the ingredients for dish

--

--