Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I find recursion clearer in many cases, even simple ones. Like, say, calculating gcd. The recursive approach uses one variable less, and expresses it in a way that is much closer to how I think about it.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: