Categories
Personal Programming Web Development

Who comes first? Testing or Development

While riding the train today, I stumbled with this programming article. I always think about how to become a better programmer at the same time write less and effective codes.

I still remember during my college days, one of my professor friend thought me of how to be a better programmer. He told me that I should write my code first while in my mind I assume that things will work. This will help me speed up and write quality codes. It became my principle since then.

This principle is still effective. I am able to see things without even writing a single code because I trained myself to see it. But things have changed already in programming nowadays.

Today, I appreciate how important the practice test-driven development (TDD). I can’t believe that I’ve just discovered it although it exists a long time ago. By this we can catch possible known problems that we’ll encounter in our system or API.

We all have different practices and it solves our problems. But adapting other practices makes you better and effective. I am excited to change my practice now and be more efficient on my next coding.