Deutsch English Français Italiano |
<vhpmo6$14s79$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: The Natural Philosopher <tnp@invalid.invalid> Newsgroups: comp.os.linux.misc Subject: Re: Joy of this, Joy of that Date: Fri, 22 Nov 2024 10:34:46 +0000 Organization: A little, after lunch Lines: 31 Message-ID: <vhpmo6$14s79$1@dont-email.me> References: <vhigot$1uakf$1@dont-email.me> <6iKdnTQOKNh6AqD6nZ2dnZfqn_idnZ2d@earthlink.com> <20241120081039.00006d2a@gmail.com> <vhlium$93kn$1@dont-email.me> <vhmprp$iaf1$1@dont-email.me> <lq9h4kF2tegU1@mid.individual.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 22 Nov 2024 11:34:47 +0100 (CET) Injection-Info: dont-email.me; posting-host="a8ce74636bee01dee1a5843f858dd693"; logging-data="1208553"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+ygZ6WLYu9IaHD/m2kGRHEDTmQzENhL0Q=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:9YfXSPnz/WI5wStNv5MKqxuZeh8= Content-Language: en-GB In-Reply-To: <lq9h4kF2tegU1@mid.individual.net> Bytes: 2138 On 21/11/2024 19:48, rbowman wrote: > On Thu, 21 Nov 2024 08:09:29 +0000, Pancho wrote: > >> GOTO was deprecated before BBC Basic circa 1981. I never really saw it, >> apart from reasonable GOTO error usages. Wasn't it more a sign of lack >> of training than a linguistic feature? > > I never understood the goto hate that Dijkstra had. It could be used to > produce hideous code but has valid uses. I'm amused by the syntactic sugar > used by many languages to conceal what is obviously a goto under the hood > amd of you dig far enough you get down to JMP, JNE, and similar opcodes. > Yup. The real hate was code that was hard to read and debug because flow jumped about all over the place. But you need to have conditional code execution and that means at some level a goto, even if its implicit. if(Bollocks) { // ELSE GOTO next '}' blah(); } -- Any fool can believe in principles - and most of them do!