News for hackers. Stuff that matters.
Re:What can be learned from studying long gone development p... by int_19h on Monday August 16, 2021 @01:45PM (#28200781)
But why would you do that, if it's simple and elegant? Really the only answer is that it has potentially unbounded stack consumption - but tail recursion solves exactly that problem.
Re:What can be learned from studying long gone development p... by Galanwe on Monday August 16, 2021 @08:26PM (#28204669)
Not all recursive algorithms are tail recursive; not all tail recursive algorithms can be correctly identified & tail optimized.
Re:What can be learned from studying long gone development p... by int_19h on Tuesday August 17, 2021 @01:46PM (#28212675)
Right, but OP was specifically talking about tail recursion.