Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,404 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,418 people online right now. Registration is fast and FREE... Join Now!




Rube Goldberg Programming

 
Reply to this topicStart new topic

Rube Goldberg Programming

yanom
31 Aug, 2008 - 10:20 AM
Post #1

New D.I.C Head
*

Joined: 5 Apr, 2008
Posts: 46


My Contributions
the programming style based on Rube Goldberg's machines
CODE
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()

User is offlineProfile CardPM
+Quote Post

Whizzy
RE: Rube Goldberg Programming
31 Aug, 2008 - 10:25 AM
Post #2

Unregistered





Cool. Now place it in the proper forum, and we're all set. This is the lounge bro.
+Quote Post

gabehabe
RE: Rube Goldberg Programming
31 Aug, 2008 - 10:53 AM
Post #3

Donkey DIC
Group Icon

Joined: 6 Feb, 2008
Posts: 5,533



Thanked: 98 times
Dream Kudos: 2650
Expert In: ruling the world.

My Contributions
1) Why is this in the lounge?
2) Why are you telling us this?
3) Where does this belong?
User is online!Profile CardPM
+Quote Post

PsychoCoder
RE: Rube Goldberg Programming
31 Aug, 2008 - 10:56 AM
Post #4

using DIC.Core;
Group Icon

Joined: 26 Jul, 2007
Posts: 8,992



Thanked: 125 times
Dream Kudos: 8625
Expert In: VB, VB.Net, C#, SQL, ASP, ASP.Net, Web Development, HTML, CSS, Win32 API, Javascript, mySQL, J#, Boo.Net

My Contributions
Please post your programming questions in the proper forum, in this case the Perl & Python forum. Moved to Perl & Python smile.gif
User is online!Profile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 11:45AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month