Linked by Thom Holwerda on Tue 18th Dec 2012 23:12 UTC
Windows "Windows XP was the last client version of Windows to include the Pinball game that had been part of Windows since Windows 95. There is apparently speculation that this was done for legal reasons. No, that's not why." I love these stories.
Permalink for comment 545840
To read all comments associated with this story, please click here.
Member since:

I good developer knows how to write readable code (and still keep it efficient).

Sadly not all developers can be bothered to do so and if they've used nondescript variable / functions names as well as weird developer logic, then the code might as well have been deliberately obfuscated.

I've worked on plenty of projects where debugging other peoples code worked out just as time consuming than if I had rewritten the code from scratch. Albeit we're talking smallish projects in those instances.

From personal experience, even good devs who have a pretty good idea of what good code looks like can write pretty unreadable code if they are...

1/Coding under strong time constraints, a burst of inspiration, or something else that puts their minds' focus elsewhere.
2/Not able to notice the mess left around until they try to read through it again after a few months without touching it.

The human brain's content indexing abilities are truly a thing of magic, but they become a hindrance when you try to distinguish what's clean from what isn't.

I love finding humour comments in other peoples code (comments I'd forgotten about in my own code).

I remember once stumbling across the following within one of Oracle's own APIs for Java / Oracle RMDBS Forms: "This is a terrible kludge". It pretty much summed up the entire product in one line hehe

These clever snippets become much less funny when you try to figure out what the code actually does, though ;)

Edited 2012-12-19 08:09 UTC

Reply Parent Score: 5