On Fri, Jul 3, 2009 at 7:38 AM, Brion Vibber<brion(a)wikimedia.org> wrote:
Since iteration over a set is frequently
desired/needed, assume it will
exist in a sensible programming language.
As already noted in this thread, horrible hacks for limited-depth
looping are already in use.
So:
1) The chosen language will support iteration over finite sets
2) Could it support general iteration, recursion etc?
3) If so, are there any good mechanisms for limiting the
destrutiveness of an infinite loop?
That is, is it practical to say "you can iterate all you like, but
you're only getting 10ms to do it"? Sounds like it could be an
interesting property of a template, where a suitably authorised person
could allow certain templates longer execution times.
Steve