Page 1 of 1
Rube Goldberg Code
Posted: Sun Mar 16, 2008 8:37 pm
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.
Re: Rube Goldberg Code
Posted: Sun Mar 16, 2008 9:35 pm
by alex.barylski
huh

Re: Rube Goldberg Code
Posted: Mon Mar 17, 2008 10:07 am
by Jenk
It's another "Most Convoluted Code Contest" thread.
Re: Rube Goldberg Code
Posted: Mon Mar 17, 2008 10:31 am
by RobertGonzalez
Didn't we have one of those going on about a year and half ago? Or was it longer?
Re: Rube Goldberg Code
Posted: Mon Mar 17, 2008 2:47 pm
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.