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

No comments yet.

Leave a Reply