yield equivalent in C/JavaScript?

Oren Tirosh oren-py-l at hishome.net
Sun Jun 30 16:38:56 EDT 2002


On Sun, Jun 30, 2002 at 09:05:37PM +0100, Robin Becker wrote:
> In message <20020630180139.GA38821 at hishome.net>, Oren Tirosh <oren-py-
> l at hishome.net> writes
> 
> very smart! That Duff did it Fortran as I recall.

I don't think there is switch with case fallthrough in fortran.  Duff's 
device is most definitely a unique abuse of the C language.

http://www.lysator.liu.se/c/duffs-device.html

	Oren





More information about the Python-list mailing list