3 ms·
Recursion is a tool, and like any other tool, you can use it to destroy the windows. It's not more or less dangerous than string manipulation in C. Transformin
by hvidgaard 13y ago
Recursion is a tool, and like any other tool, you can use it to destroy the windows. It's not more or less dangerous than string manipulation in C.
Transforming recursive algorithms to tail calls only isn't always an option, or it makes the algorithm unnecessarily complex. The problem here is that in any critical control unit, recursion must be verified safe and/or there must be an external measure to detect and recover from stack overflows.