Subj : Re: Prime numbers To : Thomas W. Mueller From : Scott Adams Date : Fri Jul 19 2002 06:30 am -=> Quoting Thomas W. Mueller to Scott Adams <=- TWM>>> There has been exactly one case in my Pascal programming work TWM>>> where I was tempted to use a goto. I don't recall whether I did TWM>>> in the end but I remember my boss getting a fit when I TWM>>> mentioned the requirement. ;-) I am now a few years older an TWM>>> tend to think wiser as well (scratch that: "more experienced" TWM>>> is the term to use). I would not think twice about using a goto TWM>>> if it makes the code more readable, damn anybody who thinks TWM>>> that's a sacrilege. Oddly it has not happened yet... SA>> The boss knew the consequences of goto eh? TWM>> Being an experienced Delphi developer he of course knew. But I TWM>> don't quite get what you are trying to tell me. SA> If he knew then he would know the consequences of gotos. Any newbie SA> in coding gets the goto lesson in school on its inefficiency and all SA> that. TWM> In my opinion most of what I was told about the evilness of gotos was TWM> crap. Not that I advocate usage of it, but it has got its uses. Less TWM> so, since current pascal dialects have the alternatives break and TWM> exit, but still, a goto can make sense. Yeah I've noticed that over the last 2 decades. Its mainly a academic thing back when coding was critical in terms of speed and space. In pascal its very easy not to use them if good code exists. TWM> In these days I make the Pascal coding style decisions in our company, TWM> so we will see what happens when I encounter the first one of these TWM> beasts. ;-) Wow...pascal? a rare company which company is that? .... AD&D Famous Last Words: "I pay my taxes in copper pieces..." --- Fringe BBS # Origin: EWOG II - The Fringe - 904-733-1721 (1:112/91) * Origin: Baddog BBS (1:218/903) .