they are worst thing about programming
> i like recursive functions
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.