Group: comp.lang.forth · Group Profile
Author: GerryGerry Date: Jul 24, 2008 13:33
On 24 Jul, 12:40, Jonah Thomas gmail.com> wrote:
> Gerry jackson9000.fsnet.co.uk> wrote:
>> Jonah Thomas gmail.com> wrote:
>
[...]
> Suppose something had gone wrong, and you had to debug it. I don't like
> debugging recursive routines. Even worse with locals.
>
> (Though locals aren't really so bad, just declare a VALUE for each
> local, and you can test the exact same code interactively. Until you
> recurse.)
>
I can't say that I find debugging recursive routines any worse
than debugging other routines. I think that using locals in
recursive code actually makes developing such routines simpler,
locals can always be removed once the recursion has been
perfected.
[...]
Gerry
|