1. Re: crash_message

----- Original Message -----
From: Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Friday, September 03, 1999 3:27 AM
Subject: Re: crash_message

<snip>

> I don't think I need to explain the nonsense of the 'it can be
> abused' -argument any more.
> One down, triljoen more nonsense arguments to go ..

<snip>

Here's another place for a "goto", in one other language i use a lot
 `cause i must, not `cause i want to ), there is no "case" expression, so i
use a "goto" like this:

case {
goto $1

:apple
:orange
:banana
return fruit

:corn
return veggie

:train
return hardware

:hammer
:screwdriver
:drill
return tool
}

Is that spagetti code? Is it hard to read? I could do a series of "if"
lines, so call me lazy,, on those days i write 20K of code, i take every
shortcut that makes sense. Also, rather than use an "exit", a "goto
EndOfFunction" would be useful to do general cleanup, coded once, coded in
one place every time, prior to the exit.

Kat,
typing too much.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu