• Welcome to Valhalla Legends Archive.
 

[humor] Writing Unmaintainable Code

Started by Grok, April 27, 2010, 12:06 PM

Previous topic - Next topic

Grok


Yegg

There's some pretty good stuff on there...

Semicolons! Always use semicolons whenever they are syntactically allowed. For example:
if ( a );
else;
{
   int d;
   d = c;
}


Some of the things on the page at http://mindprod.com/jgloss/unmainobfuscation.html reminds me of coding styles used by people who don't realize their style is ridiculous.