Compare source code
D'Arcy J.M. Cain
darcy at druid.net
Tue Nov 2 14:42:14 EDT 2010
On Tue, 2 Nov 2010 18:15:03 +0000 (UTC)
Grant Edwards <invalid at invalid.invalid> wrote:
> You can add redundant, semantically empty structure info to Python
> programs just as easily as you can to C programs:
>
> if foo:
> bar
> else:
> baz
> quux
> #endif
"Redundant" is right. However, there is a use for such comments:
if foo:
bar
else:
baz
if snafu:
cookie
#endif snafu
quux
#endif foo
Useful in more complicated code, of course.
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
More information about the Python-list
mailing list