Stop learning alone!

Learn faster and stay on-track by joining this free class with other self-learners.

Register for Structure and Interpretation of Computer Programs now.

Structure and Interpretation of Computer Programs

Class length: 13 weeks. Start anytime.

Creator: kday

Status: Established

Join this class!

Lesson2. Recursive vs. iterative process

I don't understand the difference between the linear recursive process and linear iterative process. Why the latter called iterative? We know that if the function calls itself it's recursion. And that's what the "iterative" process does in factorial example. Why it should be called iterative?

grig
2 years ago

Reply


OK. I got it. I mixed the terms process and procedure. Both procedures are recursive, but not the processes.

grig
2 years ago

Reply

* Markdown Cheatsheet:

Link:
[clickable text](http://www.example.com)

New Paragraph:
Hit enter twice

Main heading:
# Main Heading Text

Sub-heading:
## Sub-heading Text

List:
* item 1
* item 2
* item 3

Italics:
*italicized text*

Bold:
**bold text**

YouTube:
URL (http://www.youtube.com/watch?v=Ui4AYPcRkYE) turns into embed code

Full Markdown reference