News for hackers. Stuff that matters.
Re:It Can Happen to You by sjburt on Wednesday March 03, 2021 @09:16PM (#26337783)
I've always hated how that's used as an example of recursive programming in early programming education. Invariably, students try a large n, get a stack overflow and conclude that recursion is inefficient, leads to mysterious errors, and must be avoided.
Re:It Can Happen to You by saagarjha on Thursday March 04, 2021 @06:56AM (#26341303)
Fibonacci is generally more likely to take forever than stack overflow.