Announcing the Winner of the 2012 IOJSCC: @fat

A quick back story.

Once upon a time, @fat, a Twitter employee, wrote a javascript library that was a really good idea. Everyone thought so, and pretty soon everyone was using it. Then one day, someone looked through the software and noticed that there was nary a semicolon in sight. They looked high and low and found not one.

Now, this person looked about him and saw that every other piece of software (of note) was laden with semicolons and said to @fat, "Yo dude. What's up with that?" To which @fat replied, "The parser is gracious and lenient. It permits me to leave the semicolons out and so I do."

Immediately, the old gods of Javascript descended to the earth, stroked their mighty beards and said, "@fat, seriously, that is super dumb. It's lenient in the event that you slip up and forget a semicolon, but it wasn't meant for you to omit them all the time. Also, your code looks crazy in some places just because you mislike semicolons. We regret even adding this feature in at all."

@fat, hurt by this rebuke, cried out, "I am merely what you made me! You permitted me to create without semicolons and now you bind my hands and call me a monster!" Looking at his hands with wild eyes he announced, "Then a monster I shall be! And with these hands, I will unmake you."

And so began the great Javascript war of 2012.

This semicolon issue is much more fun written this way.

For myself, I think @fat is being ridiculous. Yes, javascript can be written as if newlines were significant (like ruby or python) but to accomplish this, he pulls tricks out that look like they were lifted from entries in the IOCCC.

Let me reiterate, just in case it wasn't clear: In the service of 'aesthetics', @fat writes code that uses tricks that bear resemblance to entries in a competition whose goal is to demonstrate the importance of coding style through irony.

And because I hate to explain anything without the use of analogy, it's as if Stephanie Meyers wrote the Twilight series using Washington Post's Worst Analogy Contest as her style guide, and Shakespeare rose from his grave to tell her to cut it out.

My money's on zombie Shakespeare.