[whatwg] Fake Code

On Wed, 30 Jul 2008, Kristof Zelechovski wrote:
>
> And this particular example should be recursive.  Unfolding inherently 
> recursive procedures with an explicit stack, perhaps to construct an 
> enumerator or to simulate a coroutine, is a technical detail that does 
> not belong here.

The point of the exercise is to show that it is possible to implement this 
easily without recursion. The example was added in response to implementor 
feedback requesting it.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 30 July 2008 02:43:49 UTC