Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.unix.shell,comp.unix.programmer,comp.lang.misc Subject: Re: Python (was Re: I did not inhale) Date: Thu, 29 Aug 2024 13:50:01 +0100 Organization: A noiseless patient Spider Lines: 30 Message-ID: <87ikvjwl1i.fsf@bsb.me.uk> References: <20240826083330.00004760@gmail.com> <20240826155113.000005ba@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 29 Aug 2024 14:50:07 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fea14ca971f37fc10e006db08518a19f"; logging-data="4170496"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/nmYl0ce+5k0gTc8idwA6f4/C2X1Lah1I=" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:xgW7YGgGwLKKGJhqFIsbc+kssUI= sha1:MHMCJt8d65in5tlIg33MdaJNmHQ= X-BSB-Auth: 1.9251eb4b9be70c3df770.20240829135001BST.87ikvjwl1i.fsf@bsb.me.uk Bytes: 2482 "Dmitry A. Kazakov" writes: > On 2024-08-29 12:49, Bart wrote: > >> Without the constraints imposed by the language, I could just write it as: >>     if a == b: >>         s1 >> RETURN >>         s2 >>         s3 >> NOW it stands out! > > In Ada I use indentation for the purpose: > > if A = B then -- This I will remove later > s1; > end if; > s2; > s3; > > I remember FORTRAN in its glory days had D-comments. In the first column > the letter D meant a conditional, compiled in the debug mode, ignored > otherwise. That was a non-standard extension, so it was not really part of FORTRAN but just some FORTRAN implementations. (The ones I have used didn't have that, for example.) -- Ben.