Python Newbie

Duncan Booth duncan.booth at invalid.invalid
Fri Feb 22 15:26:35 CET 2013


Rui Maciel <rui.maciel at gmail.com> wrote:

> Chris Angelico wrote:
> 
>> On Fri, Feb 22, 2013 at 10:58 PM, Rui Maciel <rui.maciel at gmail.com>
>> wrote: 
>>> Mitya Sirenef wrote:
>>>
>>>> Looks very unclear and confusing to me. Whether it's C# or ruby or
>>>> anything else, most devs don't indent like that;
>>>
>>> The Go programming language makes that style mandatory.
>> 
>> [citation needed]
>> 
>> What do you mean by "that style"? The OP's style with the 'if'
>> indented? I just checked out golang.org for examples, and they're
>> written in OTBS.
> 
> 
> Read Mitya Sirenef's post, specifically the bit I've replied to.
> 
> 
Do you believe that post was talking about the indentation of the keyword 
'if' relative to the statements in the same block, or did you think it was 
talking about the placement of the opening brace on the same line as the 
`if` statement?

I believe that Mitya was talking about the former but that you assumed the 
latter.

-- 
Duncan Booth



More information about the Python-list mailing list