Tuesday, June 01, 2004
Yesterday my brother told me about this Firefox plugin called Mouse Gestures that allows you to navigate faster using your mouse. So last night I installed it, and it already has TOTALLY changed the way I surf. Surfing is so much faster now! I use mouse gestures to go backwards, forwards, open a new tab, and open a new window. There are a lot more supported gestures to learn too. ![]()
Now, on to what I actually wanted to post. There’s this article on code humour over at kuro5hin. There are several examples of funny code, and the author asked for others to post more examples. I have some of my own.
Here’s one my friend did on a Java assignment back in First Year (University):
do
{
/* some stuff I forget */
} while ( fat_lady != singing );
He changed it later, but I did think it was hilarious.
As for me, I’ve done this kind of thing lots of times with error checking:
int user;
scanf( “%d”, &user );
if ( user == stupid ) {
print("Error");
}
I’ve left this unchanged and submitted it as an assignment several times.
Jul 31 2010 @ 04:12 PM
Comments & Trackbacks
Post a comment.
The trackback URL for this entry is: