20040810

Write Unfathomable Code and Save Lives!

According to this article from Reuters, writing really nasty code will provide your colleagues with the mental stimulation they need to stave off Alzheimer's disease. I knew there was a good use for graduate trainees.

Maybe Roedy Green should update the classic How To Write Unmaintainable Code.

2 comments:

Angsuman Chakraborty said...

Unless they die of frustration first.

straun said...

As I say in the article J2EE the code not the APIs, if your de-personalise source code (even badly written versions) then you get less stressed by blame and instead can laugh about it. And there is another study that says something like 'the more you laugh the longer you live', but I can't find the reference now.

How I laughed when I recently came across a set of sources where the developer had decided to call fillInStackTrace() in every exception handler; and another set where every thrown exception was static final and they did not fill in the stack trace.