Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mahyarm
on Aug 7, 2017
|
parent
|
context
|
favorite
| on:
Dijkstra was right – recursion should not be diffi...
Not to mention the debugger. Recursive loops create huge traces that are difficult to follow vs an equivalent for loop.
icebraining
on Aug 7, 2017
[–]
That'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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: