[python-win32] Request for comments - the spaces issue
Tim Golden
mail at timgolden.me.uk
Mon May 26 07:37:42 CEST 2008
bob gailer wrote:
> Mark Hammond wrote:
>> In general, I *try* and stick to the Python Style Guide
>> (http://www.python.org/dev/peps/pep-0008/)
>
> Interesting. I don't like the idea of 2 spaces after a period. Internet
> research on this topic seems to favor one space.
As it happens I'm with you on this one, but it's one of those
aesthetic things where there's no "right" answer: some people
prefer one approach; some another. Any organisation setting out
its stall simply opts for some position to achieve consistency. [*]
As Mark H pointed out earlier, some (most?) projects will insist
on your following their style guidelines, which seems fair enough.
However I don't see those guidelines (PEP8 in our case) as meaning
that I should format *my* code, even code which is published, in
the same way if it doesn't suit me. Opinions definitely vary on
this matter :)
TJG
[*] Notwithstanding proportional vs fixed differences!
More information about the python-win32
mailing list