| goto |
by perldude |
2002-06-11 09:00:28 |
| I am actually debugging code that uses goto (and no, it
wasn't written 30 years ago, it was written six months
ago).
It feels like being in some weird parallel universe where the
Klingons are peace loving intellectuals, Captain Picard
has hair, and people use goto. |
|
[ Reply ] |
|
ack | by Epiphany0 | 2002-06-11 09:05:04 |
|
wow...what language? (n/t) | by sumbusch | 2002-06-11 09:06:02 |
|
C (n/t) | by Epiphany0 | 2002-06-11 09:11:36 |
|
There are several cases where goto is appropriate. | by Yohimbe | 2002-06-11 09:19:09 |
|
The only reason I've ever seen goto's used are... | by Nullmeister | 2002-06-11 09:30:22 |
|
Well, yes, that's the most common case... (n/t) | by Schol-R-LEA;2 | 2002-06-11 09:48:17 |
|
yes... | by Epiphany0 | 2002-06-11 09:52:44 |
|
Can't blame you | by Schol-R-LEA;2 | 2002-06-11 10:11:54 |
|
yep | by Epiphany0 | 2002-06-11 10:32:29 |
|
There are a few optimizations that are universal.. | by HadEnuf | 2002-06-11 10:36:45 |
|
Yep. KnR said so themselves... | by Tars_Tarkas | 2002-06-11 09:30:33 |
|
in which case... | by Epiphany0 | 2002-06-11 09:36:39 |
|
wouldn't that just be | by sumbusch | 2002-06-11 09:38:50 |
|
not exactly | by Epiphany0 | 2002-06-11 09:44:26 |
|
But how for multiple nested loops? | by Freakazoid | 2002-06-11 09:39:08 |
|
then... | by Epiphany0 | 2002-06-11 09:45:54 |
|
It ultimately obfuscates the structure... | by HadEnuf | 2002-06-11 09:59:44 |
|
Would you call java's exception handling | by Yohimbe | 2002-06-11 10:02:09 |
|
It's at least an incremental improvement... | by HadEnuf | 2002-06-11 10:10:14 |
|
How about continuations? | by Schol-R-LEA;2 | 2006-11-19 12:55:59 |
|
deep nesting | by perldude | 2002-06-11 09:48:00 |
|
Won't work for ***NESTED*** loops | by HadEnuf | 2002-06-11 09:50:01 |
|
I'll C you in Heck! | by perldude | 2002-06-11 09:57:17 |
|
<Deleted> | <Deleted> | 2003-10-23 17:58:32 |
|
I guess I'm chicken too (n/t) | by nawft | 2002-06-11 13:18:52 |
|
Too late! | by Naruki | 2002-06-11 13:24:49 |
|
actually | by nawft | 2002-06-11 13:30:22 |
|
Don't worry about Nea getting mad... | by Naruki | 2002-06-11 16:59:05 |
|
I still get mad | by Nea | 2002-06-11 17:25:51 |
|
Naughty naughty. | by Naruki | 2002-06-11 19:05:05 |
|
I thought it was well established... | by Nea | 2002-06-11 20:15:23 |
|
I don't think I can be a dawn greeter | by nawft | 2002-06-11 23:22:54 |
|
Nah, Phil[1] and I don't get along! | by HadEnuf | 2002-06-11 10:11:36 |
|
already been covered (n/t) | by Epiphany0 | 2002-06-11 10:00:15 |
|
nested structures | by perldude | 2002-06-11 09:31:02 |
|
What do you think a break statement IS? | by Naruki | 2002-06-11 09:39:08 |
|
under the covers | by perldude | 2002-06-11 09:45:20 |
|
AMEN. (n/t) | by Epiphany0 | 2002-06-11 09:48:37 |
|
AWOMEN and ATHINGS. (n/t) | by bugarup | 2002-06-11 10:11:31 |
|
Well, assembly and machine code have no while() | by Yohimbe | 2002-06-11 09:54:28 |
|
Actually, I doubt that "Dijkstra hates him"... | by HadEnuf | 2002-06-11 10:22:58 |
|
Dijkstra would have killed Duff on the spot (n/t) | by Yohimbe | 2002-06-11 10:25:12 |
|
Think he would have been more justified... | by HadEnuf | 2002-06-11 10:27:18 |
|
*ow my brains* | by i_am_pi | 2006-11-19 12:55:59 |
|
Why, hello, Mr. Gumby! (n/t) | by HadEnuf | 2002-06-11 11:03:02 |
|
hmmmm | by Epiphany0 | 2002-06-11 09:32:24 |
|
Not "tree", or "recursion", but "loop"! | by HadEnuf | 2002-06-11 10:04:42 |
|
<Deleted> | <Deleted> | 2003-10-23 17:58:32 |
|
Actually, more likely 64 *digits*. | by HadEnuf | 2002-06-11 10:25:28 |
|
damn. | by Yohimbe | 2002-06-11 10:27:06 |
|
Yup. (n/t) | by HadEnuf | 2002-06-11 10:27:55 |
|
I belive the technical term is "Poo poo" | by dire_lobo | 2002-06-11 10:35:42 |
|
(un)Civil Engineers who work on sewer systems... | by HadEnuf | 2002-06-11 10:39:30 |
|
I know that is obfuscated | by nawft | 2002-06-11 12:55:16 |
|
Exactly! | by Naruki | 2002-06-11 13:12:04 |
|
whether the rule makes sense or not I shall not sa | by nawft | 2002-06-11 13:26:42 |
|
Covering up ALL letters | by pin0cchio | 2002-06-11 20:58:03 |
|
We would prefer if you don't | by Nea | 2006-11-19 12:55:59 |
|
Correct you are... | by dire_lobo | 2002-06-11 23:08:26 |
|
I'll admit it, I'm chicken | by Nea | 2002-06-11 10:53:04 |
|
*snicker* | by Naruki | 2002-06-11 10:54:11 |
|
In OpenVMS | by nimdokk | 2002-06-11 15:00:40 |
|
"...considered harmful" | by HadEnuf | 2002-06-11 09:46:16 |
|
so is that the 0.01% time then? | by Epiphany0 | 2002-06-11 10:06:45 |
|
Yes, though it's more than 0.01%... | by HadEnuf | 2002-06-11 10:31:06 |
|
fair enough | by Epiphany0 | 2002-06-11 10:49:34 |
|
I use goto when i'm lazy and don't want to bother | by i_am_pi | 2002-06-11 10:02:00 |
|
String that man up by his thumbs... | by HadEnuf | 2002-06-11 10:32:56 |
|
well those programs promptly get rm'd immediately | by i_am_pi | 2002-06-11 10:39:22 |
|
As long as they're not doing "stooped porpoises". | by HadEnuf | 2002-06-11 10:40:56 |
|
frumple. (n/t) | by i_am_pi | 2002-06-11 11:07:06 |
|
He's one of my favourite characters! | by ag_wyvern | 2002-06-11 11:35:30 |
|
"Cure the kid's insanity? Nothing easier." | by Schol-R-LEA;2 | 2002-06-11 11:48:27 |
|
I use goto in Basic... (n/t) | by Llyr | 2002-06-11 10:50:26 |
|
on the apple IIe? :-P (n/t) | by Epiphany0 | 2002-06-11 10:51:37 |
|
On my TI-89 (n/t) | by Llyr | 2002-06-11 13:15:05 |
|
That's not Basic | by pin0cchio | 2002-06-11 20:45:56 |
|
Actually... | by Kickstart | 2002-06-11 22:20:53 |