[plt-scheme] Re: I/O therefore no local

From: Stephen Bloch (sbloch at adelphi.edu)
Date: Wed Mar 3 07:22:17 EST 2010

On Mar 3, 2010, at 12:55 AM, wooks wrote:

> Actual past Exam question
> a) Write X procedure recursively.
> b) What is a disadvantage of recursion

Many students (and teachers!) who first learned to program in an  
imperative/sequential style have trouble understanding it, because  
they try to think about all the levels of implementation at once  
rather than focusing on the procedure's preconditions and  

And, as Noel says, one should give the expected answer and then  
explain why that answer isn't always a real disadvantage.

Stephen Bloch
sbloch at adelphi.edu

Posted on the users mailing list.