[SciPy-User] OT warning! Re: ANN: Spyder v2.0.8
Wed Mar 23 12:39:09 CDT 2011
I would SO love it if Spyder would make that configurable. Honestly :)
I'll open an issue on this, I guess.
2011/3/4 Krystian Rosiński <firstname.lastname@example.org>:
> Guido van Rossum wrote in 2006:
> "(...) Fortunately it's easy to separate the two. If it uses two-space
> indents, it's corporate code; if it uses four-space indents, it's open
> source. (If it uses tabs, I didn't write it! :-)"
> On 4 Mar, 01:53, Stef Mientki <stef.mien...@gmail.com> wrote:
>> On 03-03-2011 23:39, Christopher Barker wrote:> On 3/3/11 12:51 PM, Alan G Isaac wrote:
>> >> On 3/3/2011 2:31 PM, Christopher Barker wrote:
>> >>> four spaces is a well established standard
>> >> ... for the standard library. Individual projects
>> >> set their own standards.
>> > OK -- PEP 8 is only _official_ for the standard library, but if you
>> > define "standard" as "the way most people do it", then four spaces is it.
>> >> (Unfortunately, PEP 8 came
>> >> down on the wrong side of tabs vs. spaces.)
>> > clearly debatable, but my point is that it is a good idea for all
>> > projects to use the same conventions, and the ONLY one that makes any
>> > sense at this point in that context is four spaces.
>> Using a standard might be a good idea,
>> but the standard is depending on the environment.
>> Is Python the environment or the set of actually used tools.
>> For me and the people around me,
>> the programs we make, are the environment.
>> We use PHP, Delphi, C, JAL, JS, Matlab, Labview, ....
>> and in all these languages me and my environment uses 2 spaces.
>> So the standard for Python is also 2 spaces.
>> Secondly, the libraries and programs that we put in the open source community,
>> by who will they be (probably) changed and maintained?
>> So it seems to me perfectly legal to use 2 spaces as thé standard.
>> Stef Mientki
>> > Pythons "there should be only one obvious way to do it" philosophy
>> > applies here.
>> > -Chris
>> SciPy-User mailing list
> SciPy-User mailing list
More information about the SciPy-User