How to think like a programmer — lessons in problem solving

0
2878

“Everyone in this country should learn to program a computer, because it teaches you to think.”– Steve Jobs

A programmer is one who analyses a problem and provides a solution for it and build wonderful applications. It’s not that easy as to provide a solution for every problem that we face, it applies for both building applications and facing problems in life. Programming teaches us an ability that can improve the way to approach new challenges in life.

Programming is totally about problem-solving.

  1. For each problem, try a solution
  2. If that doesn’t work, try another one
  3. If that doesn’t work, repeat step 2 until you find a solution

To solve a problem, think logically and break down a problem into steps to find a solution.



Understand: Know your problem first. A problem well stated is a problem half solved. Go for the expected outcome and aim for it. If you find it difficult break down it into subproblems and solve those first step by step.

Plan: Plan it out How you are going to attain that outcome. Analyse the proceedings and execute it. Always have a plan B.

You can find a solution by seeing a challenge from one angle, then being able to take a step back and look at the same challenge from an alternative perspective. Do this over and over again until you find a solution.



Whatever your situation, be persistent. If you stuck somewhere, start by analysing the factors that contribute to this situation. Take a step back, breath, and take another look at the problem—yourself.

Once you’ve solved the first challenge, other challenges will arise. Keep resolving them with this problem-solving mindset, and view them from multiple perspectives instead of giving up.

Every challenge in life is a lesson to help us grow. Break your goals into small steps. Solving one small challenge a day equals 30 challenges solved at the end of the month—that’s a lot.

Out of which this is just an approach to solve an issue. But, your mindset matters. Have a positive attitude, it may not solve all the problems but it makes solving any problem a more pleasant experience.

Life is not a problem to be solved, but a reality to be experienced. 



Follow us on Instagram and subscribe to Knowlab.

Source: Originally published on Medium by Vino GC