HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by sras-me | Hacker News Reader
Parent
Full thread
sras-me
·
>Recursion is easier to write
And read..
View on HN
LPisGood
·
You’ve never read a 5000 line recursive method that returns different numbers of arguments depending on where it chose to execute the recursive call.
palata
·
Bad code is hard to read, that is orthogonal to the fact that it is recursive.
tikhonj
·
If all you do is replace the recursion in that example with one (or more) loops with mutable indexes, chances are the code will get
worse
.
LPisGood
·
Oh don’t worry it had more than a half dozen of those nested as well
Reply on news.ycombinator.com