[prev] [thread] [next] [lurker] [Date index for 2007/01/29]
Martin Ebourne wrote: > On Sun, 2007-01-28 at 19:39 -0500, Sean Conner wrote: >> I don't like throw/catch because it's a form of GOTO, only the target of >> the GOTO isn't implicitely specified (it's more of a COMEFROM than a GOTO, >> and even then, where you are implicitely coming from isn't stated). > > Oh come on, if you carry on like that then while, if, switch, or indeed > any program flow construct is a goto. Well, at the machine level they > are of course, but thinking of them like that at the language level will > do you no favours. *meh* Don't try twisting a completely valid argument with a straw man argument. try/catch *is* different from structured flow constructs like while/if etc. but similar to wild spaghetti gotos in that you can't see locally *or* in fact even statically where the control goes to in case the local catches fail. > It's a long time since compilers implemented try blocks using > setjmp/longjmp (spit) you know. On that *spit* I agree. > Cheers, > > Martin. > >
Generated at 23:01 on 06 Feb 2007 by mariachi 0.52