Use of a variable in parent loop

Stephane Tougard stephane at sdf.org
Sun Sep 27 17:26:42 EDT 2020


On 2020-09-27, Joe Pfeiffer <pfeiffer at cs.nmsu.edu> wrote:
> and so forth.  What I discovered in fairly short order was that it made
> it easier for me to read my own code, but did absolutely nothing for
> either me reading other people's code, nor for them reading mine.  I
> eventually concluded my best move was to just suck it up and learn to
> program in the language as intended.

Not that I disagree, but coming from twenty years of Perl, it means
where nobody really understands the code of anybody else, that never has
really been a concern to me.

However, I discovered that Emacs interprets as well an empty line or a
comment as a breaking point of a block, it's not as good as the use of
pass because I still have to indent up manually, but at least the
indent-region does not break it.



More information about the Python-list mailing list