[plt-scheme] behaviour of void?
On Feb 3, 2009, at 7:01 PM, Prabhakar Ragde wrote:
> Code:
>
> (define x 2)
> (void? (set! x 3))
>
> In Advanced Student: produces `false'.
> In Module (with addition of #lang scheme): produces #t.
>
> Why?
Bug.
>
> Thanks.
>
> (Not my question. I don't cover `void?', because I don't see much
> point to it, and I skip over Advanced Student to get to Module.
> Asked by people teaching the non-major course.) --PR
Tell them not to use void?. Tell them not to cover chapters VII and
VIII. Instead have students work on large projects and spend lectures
on iterative refinement and re-doing projects. -- Matthias