ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
Re: python development practices?
by other posts by this author
Oct 31 2001 5:21AM messages near this date
Re: python development practices? | Re: python development practices?
On Tue, 30 Oct 2001, it was written:

>  development practices.  my question, i guess, is really whether python
>  is efficient/effective if used without perfect development practices.
>  if the documentation is a little out of date.  or if a certain
>  interface isn't fully spec'ed out.  and the guy who wrote the code is
>  out of town for a week.  are there good practices which safeguard
>  against these situations?  (beyond perfect development process...)

I'm not convinced that the answer will vary that much from language to
language.

>  oh, and the underscore thing seems a bit of a hack in that it
>  contradicts one of the core principles of python.  decreasing
>  readibility of the code in order to express class properties to the
>  interpreter just screams "bolted on".

On the contrary, it increases readability and expressiveness. In C++ or
Java, you cannot look at a variable and say "oh, that's a non-public
member". You have to go find the variable declaration and see whether it
is declared public, protected, or private. What's up with that?

>  help trap a simple typo in a seldom-encountered bit of code would be
>  nice, without having to run fully exhaustive code tests.

Heehee.. hardware and software are mankind's most complex inventions. They
involve more details than we can focus on any given time, and for now at
least the cost-effective way to deal with that (in any language) is good
testing. Your code will be tested either way, it's just a question of
whether it is done by you or your customers.

-Dave


-- 
http://mail.python.org/mailman/listinfo/python-list
Thread:
Peter Wang
Peter Hansen
Toby Dickenson
Tim Peters
Steve Holden
Steve Holden
Cliff Wells
Tim Peters
Martijn Faassen

Cliff Wells
Cliff Wells
Martijn Faassen
Martijn Faassen
Paul Rubin
Russell E. Owen
Barry A. Warsaw
Martijn Faassen
Peter Wang
Skip Montanaro
John Roth
David Bolen
Peter Wang
Peter Wang
Skip Montanaro
Chris Tavares
Darren Collins
David Bolen
Paul Rubin
Paul Rubin
Peter Wang
F Basegmez
Richard Jones

Richard Jones

Neal Norwitz
Graham Ashton
Peter Wang
Russell E. Owen
Skip Montanaro
Cliff Wells
Hung Jung Lu
Wade Leftwich
Peter Wang
Peter Wang


Peter Wang

Chris Gonnerman
Paul Rubin
Andrew Dalke
Paul Rubin
Luigi Ballabio
Paul Rubin
Tim Peters
John Roth
Paul Rubin
Richard Jones

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved