I just stumbled on The Codeless Code, a collection of fables and Koans for programmers. It’s brilliant, if a terrible rabbit hole of procrastination – I’ve just burned a few hours clicking through random stories. Here’s a good one to get the flavor, Case 41 is called Garbage:
Java master Suku was investigating the software of a distant temple. On her monitor large swaths of text glowed not black but green, indicating that reams of code had been commented out.
“Curious,†said Suku. “I have opened a fine clock, and discovered orange rinds and fish bones.â€
The head monk explained that the inactive code was no longer necessary, yet he had ordered his clan to leave it in place: for if it someday became desirable to restore the logic then the code could simply be uncommented, rather than wastefully written from scratch.
“Understandable,†nodded Suku.
The next day the monks assembled again for the Java master’s inspection. With concern they reported that the head monk could not be found. Suku gestured up into the rafters where the missing monk dangled from a strong rope, by the neck. A foul odor wafted downwards.
“Your head monk’s services are no longer necessary,†said Suku. “Yet let his corpse moulder above you from this day forward. After all, his methods may someday become desirable again, and it would be wasteful to train another monk from scratch.â€
In her final report, Suku noted a swift change in the clan’s coding practices, and credited the good example set by the deceased head monk. We should consider his reinstatement, she wrote.
An excerpt from The Codeless Code, by Qi (qi@thecodelesscode.com).
Provided under the Creative Commons Attribution-NonCommercial 3.0 Unported License.