Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 65

For question about the concept of a function calling itself, also known as recursion. It can also be used for recursive algorithms.

2
votes
This is an old question with lots of answers, but a new one just occurred to me: long division. The benefit here is that most students will already be familiar (and hopefully comfortable) with the mechanics of it, so "recursion" is just another way to talk about something that's already familiar. …
answered Jul 25 '18 by G. Ann - SonarSource Team
13
votes
The image that I kept in my head when I was learning recursion was from Dr. Seuss: …
answered May 24 '17 by G. Ann - SonarSource Team
4
votes
In addition to the other good answers already provided, I want to add that students should learn recursion because they will encounter it in real life. Any one of them who goes on to program for a … living will at some point need to understand, maintain, or debug a recursive function. So they must be able to recognize recursion, understand how it works, see when it's broken, and know how to fix …
answered Jun 7 '17 by G. Ann - SonarSource Team