[Fun] Best pseudo-code ever collection
I was surfing around the Internet and I saw some developers discussing the funniest pseudo-code they have ever seen. Here are some snippets that I think are worth reading.
A programmer started to cuss Because getting to sleep was a fuss As he lay there in bed Looping 'round in his head was: while(!asleep()) sheep++
2 * b || ! (2 * b)
class Employee {
long lunches;
short hours;
double pay;
};
Apple naming function:
function name($product){ return ‘i’.$product; }
Google naming function:
function name($product){ return $product.’ beta’; }
Microsoft naming function:
function name($product){ return name($product); } // what??? recursive
bikini.ToString();
Source: http://stackoverflow.com/questions/660972/what-is-your-best-pseudo-code-phrase/661043#661043
Categories
- Ideas (1)
- IT (9)
- Marketing (1)
- My Life is Brilliant (16)
- Uni Experience (1)
Binpress Affiliate – URLite
Tags
application apps assignment bitly boolean career challenge chrome code cs database deadline developer exam facebook firefox folder graphics inmt internet explorer java lab money mozilla php professor project shorten shortening spam sqlite study stupid sudoku time tinyurl uni url urlite uwa vietnamese wall web web browser webctSeeking Perfection





