News for hackers. Stuff that matters.
Re:Making robust software: the “Mars Code” talk (2012) by dclowd9901 on Monday February 15, 2016 @11:23AM (#11104159)
Can't you also just pass a bit through the recursion that contains its depth, and halt the recursion if that number gets too high?
Re:Making robust software: the “Mars Code” talk (2012) by ktRolster on Monday February 15, 2016 @11:30AM (#11104199)
Yes, but that depends on making sure you get the programming logic correct, whereas with banning recursion outright, it can be tested automatically.