Programmer’s everyday life…

06/2/2009
tags: ,
Olexandr Savchuk

Things you come across in code. Trust me, this happens more than you expect it to…

// Magic. Do not touch.

//When I wrote this, only God and I understood what I was doing
//Now, God only knows

/* This is O(scary), but seems quick enough in practice. */
Followed by four nested for-loops.

doRun.run(); // ... "a doo run run".

/* You are not meant to understand this */

// Replaces with spaces the braces
// in cases where braces in places cause stasis
$str = str_replace(array("\{","\}")," ",$str);

options.BatchSize = 300; //Madness? THIS IS SPARTA!

last = first; /* Biblical reference */

double penetration; // ouch

via stackoverflow.com

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)
No comments yet.

Leave a Reply