[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
- Day-2-Day Entries (13)
- Information Technology (9)
- Marketing (1)
- Rap/Hiphop (1)
- Sounds Id(iot)eal (1)
Binpress Affiliate – URLite
Tags
application apps assignment bitly boolean challenge chrome code cs database deadline developer exam facebook firefox folder graphics inmt internet explorer IT java lab mozilla php professor project shorten shortening simple spam sqlite stupid sudoku tinyurl uni url urlite uwa vietnamese wall web web browser webctSeeking Perfection





