Re: any chance of 2.6.0-test*?

From: Randy Dunlap (rddunlap@osdl.org)
Date: Sun Jan 12 2003 - 19:54:13 EST


> commence Valdis.Kletnieks@vt.edu quotation:
>
>> The real problem is that C doesn't have a good multi-level "break"
>> construct. On the other hand, I don't know of any language that has a
>> good one - some allow "break 3;" to break 3 levels- but that's still bad
>> because you get screwed if somebody adds an 'if'
>> clause....
>
> Perl's facility for labelling blocks and jumping to the beginning or end
> with 'next' and 'last' may be close to what you want, but I don't know if
> it's ever been implemented in a language one could sensibly use to write a
> kernel.

Yes, Burroughs (who?) implemented it in System Development Language
(SDL) more than 20 years ago. Worked very well.

~Randy (I hope I don't find more of this thread to reply to. :(

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:43 EST