Sujet : Re: Python (was Re: I did not inhale)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.unix.shell comp.unix.programmer comp.lang.miscDate : 27. Aug 2024, 03:50:41
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vajeu0$2qks2$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
User-Agent : Pan/0.160 (Toresk; )
On Mon, 26 Aug 2024 15:51:13 -0700, John Ames wrote:
if condition:
foo()
bar()
baz()
if one needs to re-arrange the order of operations, for reasons, and one
is incautious about selecting and shuffling lines in one's editor, such
that one ends up with this:
if condition:
bar()
foo()
baz()
Try:
if condition:
foo()
bar()
#end if
baz()
versus
if condition:
bar()
foo()
#end if
baz()
Does that make things clearer?