Hacker News new | ask | show | jobs
by philwelch 4948 days ago
In other words, this person seems to be expressing a tail-recursive solution? Interesting. I would agree that tail-recursion is probably more intuitive than stateful iteration to a mathematician as well.