Facebook Messaging Fail!

November 13, 2010 § 1 Comment

I was writing a small snippet of code to send to a friend through Facebook and this is what it turned my code into:

for (i=0; i♥; i+1) {
if (t<200) {
document.write (“yes”);
} else {
document.write (“no”);
}
}

See anything strange in there?  IT TURNED MY ❤ INTO A HEART!!  It also destroyed my nesting but that isn’t nearly as offensive as the heart!  I’m surprised no mathematicians or programmers have commented on this yet!

To be fair, my code was not really for a functional purpose but still – I would like the integrity of the intent to remain  constant and not be convoluted by random shapes.  If you were wondering, the message chain is as follows:

Friend:  Still planning on going to Mammoth?

Me:  Hey,  Allan and I are on the fence pending cost and likelihood of another snow trip.  I will be nerdy (and AWESOME) and put this in pseudo code.
/*t=total cost of mammoth trip in dollars (including transportation and rental/lift cost)*/
/* i=number of snowboarding trips this year (tahoe, mammoth, etc.)*/

for (i=0; i<3; i+1) {
if (t<200) {
document.write(“yes”);
} else {
document.write(“no”);
}
}

Someone should make a Facebook group protesting the auto convert into a heart.

P.S. To Anjul – I promise I don’t spend all my time thinking of how to integrate code into nerdy messages. 🙂

**Disclaimer:  I properly nested the code the second time around but WordPress took out the nesting/spaces.  That’s a shame.  It took a while to get right. =/

Advertisements

§ One Response to Facebook Messaging Fail!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Facebook Messaging Fail! at You, Me, and Everyone Else.

meta

%d bloggers like this: