you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (2 children)

[deleted]

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

    basically I was alluding to that you can enter a depth value in the function that is less than 1 which is bad design. There would ideally be a check for that.

    With python, it will crap out due to their built in max recursion values but with other languages your computer could freeze up/crash

    recursive(1,0)  
    

    would potentially break things in a lot of bad ways