What is the funniest piece of code you’ve ever come across?


Answer by Akash Goel:

I was checking posts in the /r/books sub-reddit, when I came across this gem –
And the code is here-
From the description in README-
Fifty Shades Text Generator
Computer generated erotica in the style of Fifty Shades of Gray, for the discerning technophile.
The code is a set of grammar rules, that is used to generate text by the Dada Engine. If you know a little about grammars (Automata theory), then I highly recommend reading the code.
Here's a little snippet
	statement-of-fetish-obj statement-of-nervousness [statement-of-fetish-obj3 | statement-of-fetish-obj2]
	| transition statement-of-fetish-obj3  statement-of-fetish-obj statement-of-fetish-obj2
	| statement-of-fetish-obj ITALIC(interjection) ". " statement-of-fetish-obj2 
It's rare that I get to learn something and also enjoy it so much at the same time. I died laughing.

What is the funniest piece of code you've ever come across?


About AvatarNemo

V: Voilà! In view, a humble vaudevillian veteran cast vicariously as both victim and villain by the vicissitudes of Fate. This visage, no mere veneer of vanity, is a vestige of the vox populi, now vacant, vanished. However, this valourous visitation of a bygone vexation stands vivified and has vowed to vanquish these venal and virulent vermin vanguarding vice and vouchsafing the violently vicious and voracious violation of volition! The only verdict is vengeance; a vendetta held as a votive, not in vain, for the value and veracity of such shall one day vindicate the vigilant and the virtuous. Verily, this vichyssoise of verbiage veers most verbose, so let me simply add that it's my very good honour to meet you and you may call me V.

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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s