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

well I do not think recursion is difficult. but I think doing it in a tail-called optimised way, can sometimes be tricky (especially in compilers or node traversals). that's why more and more cps style recursion comes into place more than often. heck even scala has a way to do cps style tail calls: https://www.scala-lang.org/api/current/scala/util/control/Ta...


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

Search: