A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-June/004498.html below:

[Python-Dev] req: Software Carpentry / coding standards

[Python-Dev] req: Software Carpentry / coding standardsTim Peters tim_one@email.msn.com
Tue, 6 Jun 2000 13:20:49 -0400
[Greg Wilson]
> Hi, everyone.  We're a month away from final submissions in the
> Software Carpentry design competition, which means we're two months
> away from announcing winners and starting implementation effort,

Yay!  This is a wonderful competition, and if nobody yet has bothered to
thank you for spearheading it, let me know & I'll find someone who will
<wink>.

> and we're wondering whether there are generally-accepted coding
> standards, naming conventions, or other guidelines that we should
> adopt.  If so, URLs would be welcome...

When you can't fight about where to put curly braces, there's not much left
to argue.  The only serious attempt at a Python style guide I've seen is
Guido's:

    http://www.python.org/doc/essays/styleguide.html

Two from there large numbers of people will still argue about, but to no
avail:

+ No hard tabs.  Indents are 4 spaces, period.

+ Keep lines strictly less than 80 characters wide (I happen to keep them
under 77, to allow for one level of "> " mail quoting).

These rules ensure that code is readable as intended across all platforms.

> Also, it appears that there are two implementations of the xUnit
> testing framework in Python:
>
> Steve Purcell: http://sourceforge.net/project/?group_id=3912
> Cayte Lindner: ftp://bio.perl.org/pub/katel/biopython/UnitTests/PyUnit.zip
>
> We'd be grateful for comments on either.

Sorry, unfamiliar with these.





RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4