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 18:19

>>13
Except this isn't /sci/, it's /prog/, where we don't wank over mathematical theory.

We wank over adherence to standards and programming theory. Also, to trolling. But that's outside the scope of this post.

The expression of the mathematical formula does not matter because we express it differently as code. In the rare case where it's necessary, you may simply link to an image on wikipedia or whatever.

Nothing of value is lost by not having it, and from a /prog/ perspective, it increases maintenance costs which reduces the ability to patrol the board itself. I know this rarely happens anyway, quiet. Thus, we have something and we give up nothing in return. This is a favorable relationship.

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