John Porter writes: > Heh, that's not OO-like syntax! That's a switch statement! :-( > > Maybe this is "OO": > > attempt = new Try { cough "outa here"; }; > attempt.catch( matawba => { sustain } ); > attempt.catch( ebola => { overrule } ); > attempt.catch( { punt } ); > attempt.try(); > > Off I go... Another thread spirals out of control. The naming of 'catch' and 'throw', and an imagined 'true' OO language's implementation of catch and try are both tragically useless. Collect the list of *serious* suggestions for catch and throw names, include catch and throw, and let Larry sort it out. I strongly suspect we'll end up with catch and try/throw because they are widely used elsewhere in the industry. And if I know our $Larry, it'll be 'try' because it's shorter than 'eval'. :-) (and don't even make me suggest that 'catch' be named 'else'). Nat
- errors and their keywords and where catch can return t... David L. Nicol
- Re: errors and their keywords and where catch can retu... Peter Scott
- Re: errors and their keywords and where catch can retu... Dan Sugalski
- English language basis for "throw" David L. Nicol
- Re: English language basis for "throw" Jonathan Scott Duff
- Re: English language basis for "throw" Bart Lateur
- Re: English language basis for "throw" Jarkko Hietaniemi
- Re: English language basis for "throw" Dan Sugalski
- Re: English language basis for "throw" John Porter
- Re: English language basis for "throw" John Porter
- Re: English language basis for "throw" Nathan Torkington
- Re: English language basis for "throw" Peter Scott
- Re: English language basis for "throw" John Porter
- Re: English language basis for "throw" Stephen P. Potter
- Re: English language basis for "throw" Tony Olekshy
- Re: English language basis for "throw" John Porter
- Re: English language basis for "throw" John Porter
- Re: English language basis for "throw" Peter Scott
- Re: English language basis for "throw" Glenn Linderman
- Re: English language basis for "throw" John Porter
- Re: English language basis for "throw" skud