“Why are there no tests?”

This question is often answered with “We do not have enough time to write tests, we have very tight deadlines”. Whatever the crowd is at a hospital, it will lose its business if it decides to skip hygiene practices. You don’t see them reusing needles & syringes or not discarding wastes properly. It is practiced only because it is visible, if testing is that visible, it won’t be skipped.

Any profession which has a sudden need for a lot of skilled people and is managed by unskilled people is bound to lose its practice of craftsmanship. Craftsmanship requires discipline and time, a professional’s job is such that it is very hard to get it wrong because of strong unconscious competence. Highly competent people get great results in a shorter amount of time and effort, in fact they make it look like it is effortless.

computer code on screen

Businesses have to keep running else someone else who can run faster will eat them for breakfast, but that urgency should not percolate down to every last bit of detail which turns from a sense of urgency into haste. What are some of the things that should not be lost in haste during software development?

-1. Test driven development – Without this, we are just fooling ourselves that our work is of high quality

0. Continuous integration – This does not mean just running builds on every branch that has a commit, but developing on trunk and making sure that there is a collective progress.

1. Quality code – Human readable, domain reflecting code that is easy to read, understand and modify

The list would go endless, but I am sure most of the teams don’t follow any of the above three. Practicing just the above items requires a great amount of discipline, time and effort in the initial stages which will pay back compounded in the long run. Then it is easy to achieve milestones which were never thought about.

I was reading Nassim Taleb’s works and one of the writings that stuck to my mind was how seemingly harmless things can add up and cause great distress over a period of time.

There are lots of activities that does not have any significance if done in isolation but when done repeatedly or multiple times over a period of time it ends up creating a profound problem. One such he states is smoking a Cigarette. The risk of smoking just one cigarette will not even have any noticeable effect on the body, but it is a well known fact that years of smoking will eventually lead to bad health compared to non smokers.

In the current knowledge world it applies to our habits at workplaces as well. The risk due to procrastinating a whole day and not learning anything new in a day is almost zero, in fact it can happen for a few months without much effect on one’s ability that is how we take vacations; but there will come a time when we will be left out of the crowd if that procrastination prolongs.

Simple things we do or don’t do in a day can cause a lot of harm in the long run.

During the Deepavali festival celebrations, I will step out of the house early in the morning with a big bag of crackers, incense sticks, candles & match box; and won’t return home until I have exhausted all the crackers and lit a bonfire at the end of the day. If I come back home when parents are around, they would hold me back at home spoiling my precious day so I would try not to go back to home at all.

Deepavali was the first lesson in managing things at hand for me. Twice I was left out with a box of crackers and nobody around had a matchstick to light a fire, everyone’s situation was the same; you get back home you can’t come back until you are permitted to leave the house again. So no one could run back home and bring a matchbox, stores were also closed so we had to curtail our celebration and return.

Every year we are better in mind power than the previous year, so we learnt to avoid running out of match sticks by using a lot of incense sticks, keeping the fire alive through candles. We also learnt to light an incense stick with another incense stick. Yet we would hit the dreaded problem of the last match stick, at this point all of us would gather all the paper, leaves and twigs lying around and make a bonfire so that we can continue further.

Lighting the last match stick meant everyone gathers around close to break the wind, holding our breaths and giving the task to the eldest person in the group. We will make sure the last match stick is well used. Though this looks like seemingly benign, the mindset of splurging unless when things become scarce is extremely present. I used to light a box full of matches within an hour on seemingly useless things.

We are very hard on our future self, even if the future self is just a few hours away

Instant gratification does not let us see into distant future, it is also hard to teach to people such an abstract term but I have seen my grandparents tried to imbibe this from my childhood days. Even though there would be plenty of water, they never consumed more than that was required. Food was always upcycled, rarely thrown away. They still carry water bottles before leaving the house, while I still look to buy a throwaway bottle.

And yes the obvious one, they treated every match stick as the last match stick they had and carefully used them.