1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Recursive code is the devil's work...

Discussion in 'BBS Hangout' started by MoonDogg, Jul 13, 2009.

  1. MoonDogg

    MoonDogg Member

    Joined:
    Nov 12, 1999
    Messages:
    5,167
    Likes Received:
    495
    ...and people that write it, roll their feces into little balls. Tight little recursive balls, over and over and over.
     
  2. No Worries

    No Worries Contributing Member

    Joined:
    Jun 30, 1999
    Messages:
    30,140
    Likes Received:
    17,065
    Poorly written recursive routines are the devil's workshop.
     
  3. RedRowdy111

    RedRowdy111 Contributing Member

    Joined:
    Aug 26, 2006
    Messages:
    3,890
    Likes Received:
    94
  4. DarkHorse

    DarkHorse Contributing Member

    Joined:
    Oct 9, 1999
    Messages:
    6,733
    Likes Received:
    1,247
    They do have their place in the universe.
     
  5. Chopped

    Chopped Member

    Joined:
    Mar 28, 2006
    Messages:
    851
    Likes Received:
    45
    int x = 1

    if x > 0
    {
    x+=1
    }

    oh noes recursive infinite loop!
     
  6. MoonDogg

    MoonDogg Member

    Joined:
    Nov 12, 1999
    Messages:
    5,167
    Likes Received:
    495
    Yes, they do. Sometimes you have to do what you have to do.

    The correct title should have been....maintaining someone else's recursive nightmare raises my blood pressure to unsafe levels. But it's slowly returning to normal as I passed it on to the original author. Thereby lowering his blood pressure back to normal as well;being that I jacked it up when I told him what I was tasked to do.

    PM's, please specify in the docs what resources you want to allocate to a specific task. Developers with high blood pressure tend to write crappy code and will exact sweet revenge at a later date.
     
  7. Dr of Dunk

    Dr of Dunk Clutch Crew

    Joined:
    Aug 27, 1999
    Messages:
    45,185
    Likes Received:
    31,147
    That loops? :D
     
  8. thelasik

    thelasik Contributing Member

    Joined:
    May 9, 2005
    Messages:
    3,347
    Likes Received:
    72
    rofl I was going to point out the same thing
     
  9. inler

    inler Contributing Member

    Joined:
    Jan 12, 2003
    Messages:
    199
    Likes Received:
    2
    fixed it for you
     
  10. vlaurelio

    vlaurelio Contributing Member

    Joined:
    Jan 26, 2005
    Messages:
    21,310
    Likes Received:
    11,755
    loop<>recursive
     
  11. arkoe

    arkoe (ง'̀-'́)ง

    Joined:
    Dec 13, 2001
    Messages:
    10,372
    Likes Received:
    1,589
    Same goes for recursive database relations.
     
  12. JeopardE

    JeopardE Contributing Member

    Joined:
    Jun 29, 2006
    Messages:
    7,418
    Likes Received:
    246
    FTFY, against my better judgment.
     
  13. conquistador#11

    Joined:
    Jun 30, 2006
    Messages:
    36,136
    Likes Received:
    22,651
    Mi vida con miguel keaton?

    *I never got in on that bad joke.
     
  14. JeopardE

    JeopardE Contributing Member

    Joined:
    Jun 29, 2006
    Messages:
    7,418
    Likes Received:
    246
    Speaking of evil recursion ...

    #include &lt;stdio.h&gt;
    #include &lt;math.h&gt;
    double l;main(_,o,O){return putchar((_--+22&&_+44&&main(_,-43,_),_&&o)?(main(-43,++o,O),((l=(o+21)/sqrt(3-O*22-O*O),l*l<4&&(fabs(((time(0)-607728)%2551443)/405859.-4.7+acos(l/2))<1.57))[" #"])):10);}


    (Shamelessly stolen from IOCCC)
     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now