[SciPy-User] OT warning! Re: ANN: Spyder v2.0.8
Christopher Barker
Chris.Barker at noaa.gov
Thu Mar 3 17:39:21 EST 2011
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.
Pythons "there should be only one obvious way to do it" philosophy
applies here.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the SciPy-User
mailing list