Y
Hacker News
new
|
ask
|
show
|
jobs
by
sras-me
12 hours ago
>Recursion is easier to write
And read..
1 comments
LPisGood
11 hours ago
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.
link
palata
11 hours ago
Bad code is hard to read, that is orthogonal to the fact that it is recursive.
link
tikhonj
11 hours ago
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
.
link
LPisGood
11 hours ago
Oh don’t worry it had more than a half dozen of those nested as well
link