Live data from Hacker News

How not to teach recursion (2021)

parentheticallyspeaking.org

1–10 of 121 posts

Re: How not to teach recursion (2021)

#4
post #3
post #2

I'm still looking to understand the difference between recursive definitions and inductive ones...

If you've looked at recursive functions then you should also look at recursive functions.

To not understand recursion, you must first... wait, I think that's all!

Re: How not to teach recursion (2021)

#5
While I agree with the overall argument, reading this was a bit frustrating. The article made all kinds of interesting points and observations, but didn't really explain any of them. For example, I'd love to know what the difference between recursion and cyclicity is.

Re: How not to teach recursion (2021)

#6
post #3
post #2

I'm still looking to understand the difference between recursive definitions and inductive ones...

If you've looked at recursive functions then you should also look at recursive functions.

The jargon file entry for "tail recursion" read: "If you haven't grown tired of it already, see tail recursion."

Re: How not to teach recursion (2021)

#9

While I agree with the overall argument, reading this was a bit frustrating. The article made all kinds of interesting points and observations, but didn't really explain any of them. For example, I'd love to know what the difference between recursion and cyclicity is.

A recursive definition for something makes reference to that self-same definition, but it always has a base case to break the endless regress. Non-programming example: in grammar, a noun phrase might be defined as a noun, or a modifier and a noun phrase.
Post reply on HN