DEV Community

Discussion on: Why YOU should learn Recursion

Collapse
 
vjarysta profile image
Valentin Jarysta

Great article, thanks! Just one thing though, factorial is not about adding numbers but multiplying them.

Collapse
 
softchris profile image
Chris Noring

Thanks for that. I'll update it.. Uni was many years ago ;)

Collapse
 
fc250152 profile image
Nando

Hi Chris, just to complete the correction, you should touch also this, that appear at the end of the "Factorial" paragraph:
"I could see that this would lead to a 5 + 4 + 3 + 2 + 1 scenario."
Anyway, thanks for your great explanation, kudos!

Thread Thread
 
softchris profile image
Chris Noring

Appreciate that, should be updated :)