Rube Goldberg Code

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
Chalks
Forum Contributor
Posts: 447
Joined: Thu Jul 12, 2007 7:55 am
Location: Indiana

Rube Goldberg Code

Post by Chalks »

I had an idea. I can't decide if it's a bad one or not though.


Make this function happen ...

Code: Select all

function PopBalloon() {
  echo "POW!";
}
... in the most complicated* way you can. Anything goes.
I'm curious to see what you all come up with.





*I'm not encouraging poor coding practices. Nope.
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Re: Rube Goldberg Code

Post by alex.barylski »

huh :?
User avatar
Jenk
DevNet Master
Posts: 3587
Joined: Mon Sep 19, 2005 6:24 am
Location: London

Re: Rube Goldberg Code

Post by Jenk »

It's another "Most Convoluted Code Contest" thread.
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: Rube Goldberg Code

Post by RobertGonzalez »

Didn't we have one of those going on about a year and half ago? Or was it longer?
User avatar
Ambush Commander
DevNet Master
Posts: 3698
Joined: Mon Oct 25, 2004 9:29 pm
Location: New Jersey, US

Re: Rube Goldberg Code

Post by Ambush Commander »

I think the key is that the enjoyment of a Rube Goldberg machine is seeing how the machine changes as execution passes on. Thus, we're not looking at the most convoluted code, per se, but the most convoluted execution--while still being decipherable by humans.

This might be fun, although to be fully enjoyed I imagine you'd need a debugger.
Post Reply