Sujet : Re: Python (was Re: I did not inhale)
De : mailbox (at) *nospam* dmitry-kazakov.de (Dmitry A. Kazakov)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 29. Aug 2024, 12:31:01
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vapm5l$3uich$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
User-Agent : Mozilla Thunderbird
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.
-- Regards,Dmitry A. Kazakovhttp://www.dmitry-kazakov.de