Conclusions
Iteration vs. Recursion
- Students are using iteration because its easier to write, not because its the right construct for the job.
-
- Students care about efficiency: iteration is more efficient than a procedure call in Java.
-
- Javas syntax is very verbose. I think students avoid writing helper procedures because it takes too much time to write them down.