> i like recursive functions

they are worst thing about programming

Attached: 1539722155636.jpg (720x546, 38K)

t. 1st year CS student

lol. learn how to code first in whatever language you're starting out with (most likely Python).

>the worst thing about programming
You don't believe that come on.

I try to avoid primitive recursion, but I pretty much use recursion exclusively via foldl and friends

As I have always said, recursion is black magic and should be banned.

I believe it. Back in school I knew people who had been programming for 2-4 months who really did have this opinion.

i think an iterative function definition is preferable to a recursive definition for a function most of the time... but theres nothing inherently bad about recursion... why do you hate it so much

It would be impossible for an NPC taking a shower to imagine themselves as an NPC taking a shower because that would imply they are in some way selfaware, and therefore not an NPC

In a small embedded system, it can easily cause stack overflow.