News for hackers. Stuff that matters.
Re:Dijkstra was right – recursion should not be difficult by eru on Monday August 07, 2017 @07:08PM (#14952048)
Tail recursion sometimes comes up naturally. It's essentially a goto with parameters. Thus it comes up where goto is also (at least borderline) useful, eg implementing state machines.
Re:Dijkstra was right – recursion should not be difficult by aidenn0 on Monday August 07, 2017 @07:42PM (#14952237)
I almost added a parenthetical after "rarely" to the effect that state-machines are the one exception I've encountered.