From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,9a0ff0bffdf63657 X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,4b06f8f15f01a568 X-Google-Attributes: gid103376,public X-Google-Thread: f43e6,9a0ff0bffdf63657 X-Google-Attributes: gidf43e6,public X-Google-Thread: 1108a1,9a0ff0bffdf63657 X-Google-Attributes: gid1108a1,public From: dewarr@my-dejanews.com Subject: Re: Software landmines (loops) Date: 1998/09/17 Message-ID: <6ts13n$v31$1@nnrp1.dejanews.com>#1/1 X-Deja-AN: 392170741 References: <6rf59b$2ud$1@nnrp1.dejanews.com> <6rfra4$rul$1@nnrp1.dejanews.com> <35DBDD24.D003404D@calfp.co.uk> <6sbuod$fra$1@hirame.wwa.com> <904556531.666222@miso.it.uq.edu.au> <6sgror$je8$3@news.indigo.ie> <6sh3qn$9p2$1@hirame.wwa.com> <6simjo$jnh$1@hirame.wwa.com> <35eeea9b.2174586@news.erols.com> <6sjj7n$3rr$1@hirame.wwa.com> <35f055a5.1431187@news.erols.com> <6sjnlu$83l$1@hirame.wwa.com> <6skfs7$2s6$1@hirame.wwa.com> <35F252DD.5187538@earthlink.net> <6t4dge$t8u$1@nnrp1.dejanews.com> <6t5mtp$4ho$1@news.indigo.ie> <35FFE58C.5727@ibm.net> X-Http-Proxy: 1.0 x2.dejanews.com:80 (Squid/1.1.22) for client 205.232.38.14 Organization: Deja News - The Leader in Internet Discussion X-Article-Creation-Date: Thu Sep 17 22:05:44 1998 GMT Newsgroups: comp.lang.eiffel,comp.object,comp.software-eng,comp.lang.ada X-Http-User-Agent: Mozilla/2.02 (OS/2; I) Date: 1998-09-17T00:00:00+00:00 List-Id: In article <35FFE58C.5727@ibm.net>, bijuthom@ibm.net wrote: > Giovanni 8 wrote: > > > > > Gerry Quinn wrote: > > >> adam wrote: > > >> Sigh... does anyone *try* to write spaghetti code? > > >> The thing is, someone who's inexperienced and hasn't read > > >> enough code to know whether code is readable or not, is > > >> certainly capable of writing unreadable, convoluted code > > >> without using GOTO. > > > > > I agree - in fact I would argue that if you are carrying a > > > flag for deciding when to exit, the flag is part of the > > > flow of control - with all the potential pasta that entails. > > > > Spaghetti code is in the eye of the beholder. > > > > Some people find jumps or gotos, written in their own > > particular style, to be much more elegant and clear > > than the so-called control structures. Others really > > like flags popping up in one place & then not being > > seen through vast piles of listing until, layers removed, > > they are used again (even in a different context with > > different conceptual significance for the values of > > the flag). I've seen people, brows furrowed, puzzled > > over code that was the epitome of structured design, > > who could follow the jumps of assembly language with > > ease. > > Reminds me of what Dijkstra told about the effect of COBOL and BASIC on > minds: > > "The use of COBOL cripples the mind; its teaching should, therefore, be > regarded as a criminal offense." > > "It is practically impossible to teach good programming style to > students that have had prior exposure to BASIC; as potential programmers > they are mentally mutilated beyond hope of regeneration" > > Biju Thomas > I would be willing to be that EWD simply does not know COBOL, or that if he does know it, he knows some ancient version that bears no relationship to modern COBOL. In fact this must be the case, or he would not make a patently absurd statement like this. -----== Posted via Deja News, The Leader in Internet Discussion ==----- http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum