Debugging is an art as well as a challenge.

Rajat Jain
2 min readSep 21, 2020

--

There is a great Analogy to understand the two concepts:

1) Coding

2) Debugging

Coding is like an Engineer in a Car factory trying to build & assemble pieces of the car together.

The car before going on the Road would go through necesary tests as happens in Software before going to production.

Debugging can be compared to a road side mechanic who gets an entirely new broken piece to deal with. His job is to find the broken non-working piece & fix it to make the object working again.

Here, if you notice, the mechanic has never built that car nor has he ever stepped into a factory.

Its the way of solving & “approach” to that defected piece that makes a mechanic a great one.

Let’s say, a car is down with ignition. Is it the carbonator, spark plug or a battery issue??

Debugging can be very interesting or rather addictive as everytime you are presented with a new unknown defect.

And for a Software developer you literally have thousands of lines of code siting in front of you where you need to find that ONE LINE OF CODE which needs a fix.

Similarly, in a car there can be thousands of different parts through which one needs to traverse in order to find the broken piece.

Debugging is an art as well as a challenge.

Similarly, for a doctor, a patient is presented with an entirely unknown anomaly and his job is to debug & find what organ is causing it in the body.

For me, personally, Debugging is really interesting and probably my favourite job.

--

--

Rajat Jain

Tech Blogger. Addicted to OSS, PHP & Performance. Born & brought up in India. Travelled 5 countries. A Table-Tennis player.