[python-win32] Request for comments - the spaces issue
Michael Foord
fuzzyman at voidspace.org.uk
Sat May 24 15:26:10 CEST 2008
Dahlstrom, Roger wrote:
> Ha - you'd hate my code then. I like a lot of spaces, makes it easier for me to keep the blocks seperated.
>
I'm afraid that I abhor them. :-)
Michael Foord
http://www.ironpythoninaction.com/
> -----Original Message-----
> From: python-win32-bounces at python.org [mailto:python-win32-bounces at python.org] On Behalf Of Tim Golden
> Sent: Saturday, May 24, 2008 4:28 AM
> Cc: Python-Win32 List
> Subject: Re: [python-win32] Request for comments - the spaces issue
>
> [bob gailer]
>
>>> Please omit the space before ( in code. I find that very distracting.
>>> Example:
>>>
>>> print result.Properties_ ("sValue").Value # current
>>>
>>> print result.Properties_("sValue").Value # preferred, and how most
>>> code I've seen looks.
>>>
>
> [Tim Roberts]
>
>> Do you understand that this is strictly a personal preference? Some
>> people like it, some people don't. You are certainly allowed to
>> "prefer" one over the other, but it's a bit much to ask someone else to
>> change their coding style to match yours, unless you are a paying
>> client. ;)
>>
>
> [Roger Dahlstrom]
>
>> I'd add to that that I prefer the space, and I only use notepad++ for
>> coding. Everything worked fine for me.
>>
>
> On balance I'm inclined to stick to my spaces-before style, not
> least because I've been coding that way for well over 20 years
> and it's not that easy to change, even if I felt well-disposed.
> (Which I don't :) )
>
> Apologies to Bob & anyone else who finds this style irksome. As
> you might imagine, I find the opposite style cluttered and hard
> to read. Likewise I imagine there are many who find my two-spaces
> indent style cluttered while I find even four and certainly any
> more to be grotesquely elongated.
>
> TJG
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>
> DISCLAIMER:
> This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and
> may contain legally privileged and/or confidential information. If you are not the intended recipient
> of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and
> any attachments thereto, is strictly prohibited. If you have received this in error, please immediately notify
> me and permanently delete the original and any copy of any e-mail and any printout thereof.
> E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept
> liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.
>
> NOTICE REGARDING PRIVACY AND CONFIDENTIALITY
> Direct Edge ECN LLC may, at its discretion, monitor and review the content of all e-mail communications.
>
> www.directedge.com
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
More information about the python-win32
mailing list