match braces?

lallous lallous at lgwm.org
Fri Sep 4 03:25:34 EDT 2009


Hello,

Thank you all for your replies.

A simple suggestion as Chris' actually might help.

I am used to two spaces indentation since years, and apparently two
spaces won't make it clear if no visuals were present (braces, or
begin/end, ...)

Though it is not comfortable to change a style, I will play with 8
spaces indentation, it would naturally make it clearer ;)

--
Elias

On Sep 3, 11:43 am, Chris Rebert <c... at rebertia.com> wrote:
> On Thu, Sep 3, 2009 at 2:38 AM, lallous<lall... at lgwm.org> wrote:
> > Hello
>
> > In C/C++ you use the braces where as in Python you use the indentation
> > levels.
> > Most editors offer a Ctrl+[ to match the braces so that you can easily
> > identify the scopes (more correctly "statements blocks").
>
> > I am finding it difficult to see blocks
>
> Erm, how does the indentation itself not make it plainly and explicitly clear?
> Perhaps you need to set your tabstops wider?
>
> Cheers,
> Chris




More information about the Python-list mailing list