lkml.org 
[lkml]   [2003]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: any chance of 2.6.0-test*?
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.191 / U:0.420 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site