indentation

Bruno Desthuilliers bruno.42.desthuilliers at websiteburo.invalid
Mon Oct 20 10:04:21 EDT 2008


Ross Ridge a écrit :
> Bruno Desthuilliers  <bruno.42.desthuilliers at websiteburo.invalid> wrote:
>> I can't remember having seen any other "standard" so far.
>>
> Ross Ridge a écrit :
>> I've seen various indentation styles used in examples on this newsgroup.
> 
> Bruno Desthuilliers  <bruno.42.desthuilliers at websiteburo.invalid> wrote:
>> I meant: in a real-life project.
> 
> So?  There's no reason to assume the styles people use on this newsgroup
> don't reflect those they use in "real-life" projects.

Yes there are. I can give you two:
1/ code editor are usually configured to insert X spaces when hitting 
'tab' - which is not necessarily the case for newsreaders. Guess what 
happens when someone writes a code snippet directly in his newsreader ?

2/ I sometimes use 2-spaces when posting here to avoid linewraps

!-)



More information about the Python-list mailing list