3 ms·
>"A recursive function is a function that calls itself inside its own definition." >That's a recursive definition lol. No it isn't? I'm not really sure why yo
by aninhumer 10y ago
>"A recursive function is a function that calls itself inside its own definition."
>That's a recursive definition lol.
No it isn't? I'm not really sure why you think it is?
- nickpsecurity 10y agoLet me change it slightly so you can see how some might see it if no background in recursion: "a type of function's whose definition is it calls itself in its own definition." Most people's problem is they don't understand the concept. Such a definition just confuses them more as they try to wrap their head around what they visualize a circular or looping logic. It's the kind of thing best to define with examples. Even those usually don't teach why people would go through the trouble. The Thinking in Scheme people went further to write a whole book to teach the subject.