Striving for PEP-8 compliance

Ben Finney ben+python at benfinney.id.au
Sat Apr 10 14:34:03 CEST 2010


I'm interested that you are holding what appear to be contradictory
arguments, and don't seem to apply each one to the other. Let me take
the latest expressions of these and show how they can apply equally in
either direction:

Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes:

> But what happens when you’re trying to reconcile two different
> indentation conventions? In Python, there can be problems doing that
> without introducing logic errors.

What happens whe you're trying to reconcile two different
block-delimiter conventions?

Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand> writes:

> But since [braces] already, by definition, directly correspond to
> program logic, where exactly does the “big problem” arise trying to
> make sure they are “consistent with the program logic”?

Since indentation already, by definition, directly corresponds to
program logic in Python, where exactly is the problem that leads you to
want to eradicate indentation as syntax?


In other words: I don't see why the problems you're asserting are
problematic for one kind of block delimitation syntax but not the other.

-- 
 \       “[Freedom of speech] isn't something somebody else gives you. |
  `\      That's something you give to yourself.” —_Hocus Pocus_, Kurt |
_o__)                                                         Vonnegut |
Ben Finney



More information about the Python-list mailing list