3 Replies - 2161 Views - Last Post: 31 August 2008 - 11:56 AM Rate Topic: -----

#1 yanom  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 70
  • Joined: 05-April 08

Rube Goldberg Programming

Posted 31 August 2008 - 11:20 AM

the programming style based on Rube Goldberg's machines
class var():
	def __init__(self):
		self.name = "hello world!"
		self.printtimes = 1
def printr(inp):
	while inp.printtimes>0:
		print inp.name
		inp.printtimes = inp.printtimes-1
start = var()
def run():
	printr(start)
run()


Is This A Good Question/Topic? 0
  • +

Replies To: Rube Goldberg Programming

#2 Guest_Whizzy*


Reputation:

Re: Rube Goldberg Programming

Posted 31 August 2008 - 11:25 AM

Cool. Now place it in the proper forum, and we're all set. This is the lounge bro.
Was This Post Helpful? 0

#3 gabehabe  Icon User is offline

  • GabehabeSwamp
  • member icon




Reputation: 1376
  • View blog
  • Posts: 10,951
  • Joined: 06-February 08

Re: Rube Goldberg Programming

Posted 31 August 2008 - 11:53 AM

1) Why is this in the lounge?
2) Why are you telling us this?
3) Where does this belong?
Was This Post Helpful? 0
  • +
  • -

#4 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1633
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: Rube Goldberg Programming

Posted 31 August 2008 - 11:56 AM

Please post your programming questions in the proper forum, in this case the Perl & Python forum. Moved to Perl & Python :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1