Are you sad? I know why.

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Are you sad? I know why.

Post by McInfo »

Have you been coding non-stop and now you're feeling depressed? The cause may be sympathy. Being surrounded by frowns all day long is enough to make anybody feel like frowning too. Where are the frowns? They're in your code, of course. Many lines of code end with sad emoticons:

Code: Select all

if ( $sad_face ):
    ends_in_tears( );
endif;
The solution? Swap the parentheses.

Code: Select all

var_dump) $smile (;
Well, maybe not. That would just make the compiler sad. What are we to do?
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Re: Are you sad? I know why.

Post by Jenk »

Use Smalltalk. No more emoticons.
User avatar
Jonah Bron
DevNet Master
Posts: 2764
Joined: Thu Mar 15, 2007 6:28 pm
Location: Redding, California

Re: Are you sad? I know why.

Post by Jonah Bron »

:(
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: Are you sad? I know why.

Post by josh »

Regular expressions make me angry. I once wrote one & sent it to my boss, I was sent to anger management.
F*!# you!
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Are you sad? I know why.

Post by McInfo »

josh wrote:Regular expressions make me angry. I once wrote one & sent it to my boss, I was sent to anger management.
F*!# you!
:rofl:
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Are you sad? I know why.

Post by greyhoundcode »

Not only is my code peppered with sad emoticons but this piratical looking fellow also lurks in my code, glaring at me implacably.
g3011.png
g3011.png (17.49 KiB) Viewed 1800 times
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Are you sad? I know why.

Post by greyhoundcode »

Hmm. Actually that doesn't work, does it? Mixed up the braces/parentheses :-(
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Are you sad? I know why.

Post by McInfo »

greyhoundcode wrote:[...] this piratical looking fellow [...]
That's a giant pirate.
Post Reply