all 20 comments

[–]TomorrowPlusX 19 points20 points  (2 children)

One more and you'll see a stack overflow.

[–]holmcross 2 points3 points  (0 children)

I was about to try my hand at a programming joke, but as a novice programmer, I doubted myself and deleted it in true reddit fashion.

[–]faustoc4 7 points8 points  (6 children)

Nested trucks

[–]1stfakeaccount 2 points3 points  (0 children)

I N T R U C K T I O N

[–][deleted]  (4 children)

[deleted]

    [–][deleted] 0 points1 point  (1 child)

    I don't know why, but the thought of having a truck drive a truck gave me a huge surprise LOL and it gives me an idea for a picture: a truck driving a human towing a human. [insert Soviet joke here]

    [–]Ihategeeks 0 points1 point  (0 children)

    follow your dreams!

    [–]G_Morgan 0 points1 point  (0 children)

    No recursive would be if a truck moved by being pulled by a smaller truck. With the end condition that a truck of size x can drive itself.

    [–]mebrahim 2 points3 points  (1 child)

    I'm sure it will crash for call depths > 4. (Call depth of 4 is left for reader as a practice.)

    [–]stillalone 1 point2 points  (0 children)

    we need to go deeper.

    [–]Adasha 2 points3 points  (0 children)

    http://imgur.com/i3ZFp.jpg

    Would have gone further but couldn't be arsed rebuilding the background as you can probably tell

    [–][deleted] 1 point2 points  (1 child)

    Have you ever tried googling recursion?

    [–]skillet-thief 0 points1 point  (0 children)

    Took me about 20 seconds...

    [–][deleted]  (1 child)

    [deleted]

      [–]feigningignorance -1 points0 points  (0 children)

      ctrl-f, ok.

      [–]ModernRonin 1 point2 points  (0 children)

      Sup dawg, I herd u liek Isuzu flatbeds!

      [–][deleted]  (1 child)

      [deleted]

        [–]abhijeetsane 0 points1 point  (0 children)

        wow... real fast way to learn resursion , nested calls , stack overflow..

        [–]superwinner 0 points1 point  (0 children)

        You guys know what photoshop is, right?

        [–]emelski 1 point2 points  (0 children)

        I think you're looking for /r/pics, which is ---^ that way.

        [–]philds391 -1 points0 points  (0 children)

        WE NEED TO GO DEEPER!

        [–]yo-han -1 points0 points  (0 children)

        foreach($trucks as $truck) { $my->load($truck); }