[REBOL] Re: tail-func: for the gurus
From: koopmans:itr:ing:nl at: 19-Nov-2001 9:33
Hi Ladislav,
See below....
> 1) your implementation uses "keywords": [ref-mode p1 p2 r w comm statement
> ret either get bind to-word append mold on off refinement! word! copy parse
> _*loops _*myspec insert to-path _*mycall if _*loop-detected true return
> until false set do not]. The need to have keywords can be eliminated.
>
I agree. But the idea is to have some kind of stack frame. I found it handy
to use keywords there. Along the same road a class hierarchy can be
implemented.
> 2) Why did you use the CATCH function attribute?
>
A local code convention in our project.
> 3) Refinements can be passed more transparently.
>
I see. But... I use this technique also in Rugby, where this is the only way
because you are in a distributed environment. Stolen from myself ;-)
> 4) Other simplifications/generalizations were possible. I have "stolen"
> some ideas from my
Cool! I hope others are reading this thread because it is very insightful to
(have) demonstrate(d) the true power of Rebol: if it isn't there, you can
built it in no time. Rebol really transforms into what *you* want it to be.
Human-centered software engineering for the programmers....
--Maarten