The value of throwing code away

We had a discussion at work about “throw away” code. One of our developers was very against developing any code that would be thrown away afterwards. He referred to this as a waste. In my view sometimes the biggest gain can be in developing code that is meant to be thrown away. It can be used to try things and, more importantly, learn things that can shape the code that is kept. This article sums it up much more eloquently than I can.

A lot of developers also like to refactor existing code. This usually involves the removal of code they deem can be improved. In some ways, the initial code could be viewed as a prototype and hence it is fine to throw away that code … and at some point the code they have written will also be thrown away.

Links

Prototypes Are Worthless, But Prototyping Is Essential

Random Posts

Thank a teacher

Teachers can make a huge difference - in both a positive and a negative way.


Read More

Goggles give back sight

This short clip is pretty remarkable. A young woman lost most of her sight due to a brain tumour. All she has left is a small blurry circle in her right eye. With the use of some AR goggles and some very clever tech she was able to read for the first time in years - very moving.


Read More

New ways to generate ideas online

There are a lot of sites that claim to be idea generators. Most of them turn out to be just a button you click that slings together a bunch of random words that are meant to then become a prompt to generate ideas.


Read More