Open developess opened 6 years ago
:thumbsup: Agreed, a brief introduction to simple recursion problems might make the solution here more intuitive.
I think many people in FAC14 felt that, although the waterfall challenge has some value, on the whole it was so frustrating and so advanced, that it didn't make sense to include it in the curriculum, at least not as early as week 3.
I added a short intro to recursion for FAC15 (writing a function to calculate factorials). The cohort got close, but nobody solved the challenge.
IMO This either needs to come much later in the course, or be removed entirely
For FACN5 we also made an introduction to recursion. 5 min : Small conversation on recursion, call backs and async code. 7 min : Fun fun video link simple example. 10 min : Code along solving factorial number with recursion. 10 min : Explaining the code and different perspective on looking and understanding the recursion. 3 min : Go through the existed watefall challenge code.
Half of the class managed to solve it while the others were close to the solution.
Some ideas for improvement:
Eloquent JavaScript has a good little introduction to recursion: