source-academy / cs1101s

1 stars 0 forks source link

How do iterative processes work? #2

Open raivatshah opened 4 years ago

raivatshah commented 4 years ago

Question: I don't understand the concept of iterative processes

Answer: Processes arise (or evolve) when we evaluate programs, and programs describe processes. A process is either recursive or iterative, depending on whether it accumulates deferred operations as it evolves, or not. A process that does not accumulate deferred operations is called iterative. See SICP JS.

martin-henz commented 4 years ago

How about: Processes arise (or evolve) when we evaluate programs, and programs describe processes. A process is either recursive or iterative, depending on whether it accumulates deferred operations as it evolves, or not. A process that does not accumulate deferred operations is called iterative. See SICP JS.

martin-henz commented 4 years ago

Same question: what is an iterative process?

martin-henz commented 4 years ago

Rephrased question: what programs give rise to iterative processes?