Python Newbie

Steve Simmons square.steve at gmail.com
Fri Feb 22 15:45:31 CET 2013


On 22/02/2013 15:26, Duncan Booth wrote:
> 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.
>
Oooh, this is making my head spin.  Are you saying that the OP's 
question about proper indentation has resulted in an incorrectly 
answered post due to poor indentation of a reference to the indentation 
of another reference?

Steve



More information about the Python-list mailing list