4 ms·
Not to mention the debugger. Recursive loops create huge traces that are difficult to follow vs an equivalent for loop.
by mahyarm 9y ago
Not to mention the debugger. Recursive loops create huge traces that are difficult to follow vs an equivalent for loop.
- icebraining 9y agoThat's a feature, not a bug, in my opinion. Recursion preserves information about the function's execution. The problem is debuggers being too dumb to detect it and present it well.