osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The "loop and a half"


On 10/4/17 7:37 AM, Stefan Ram wrote:
> bartc <bc at freeuk.com> writes:
>> Note that your reverse-indentation style is confusing!
>    In Python, indentation can be significant.
>
>    Sometimes, some lines in Python must be indented by 0.
>
>    This dictates that Python code cannot be indented
>    in posts to differentiate it from the natural-language
>    body of the post. Therefore, it's rather the
>    natural-language body that has to be indented.
>

FWIW, I also find your posts hard to read because of the inverted 
indentation.? We don't have difficulty understanding the meaning of 
block-indented chunks of Python code.

--Ned.