Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Tail recursion considered harmful

Name: Anonymous 2009-04-26 9:52

I don't believe in recursion as the basis of all programming. This is a fundamental belief of certain computer scientists, especially those who love Scheme and like to teach programming by starting with a "cons" cell and recursion.

Is it really such a big deal to rewrite your function to use a loop?

Name: Anonymous 2009-04-26 17:37

>>11
Why?

F(n) = φn−(1−φ)n
          √5

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List