473,748 Members | 9,596 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Ten Essential Development Practices

The following url points to an article written by Damian Conway
entitled "Ten Essential Development Practices":
http://www.perl.com/pub/a/2005/07/14/bestpractices.html

Althought the article has Perl as a focus, I thought that some of the
general points made might be of interest to the Python community. It
would certainly be interesting to put together an analogous version of
this article that centers on Python.

Best Regards,
g

Jul 28 '05 #1
217 9190
gy**********@gm ail.com wrote:
The following url points to an article written by Damian Conway
entitled "Ten Essential Development Practices":
http://www.perl.com/pub/a/2005/07/14/bestpractices.html

Althought the article has Perl as a focus, I thought that some of the
general points made might be of interest to the Python community. It
would certainly be interesting to put together an analogous version of
this article that centers on Python.


He spends so much space on "Create Consistent Command-Line Interfaces,"
a section that, in Python, could be replaced with a simple "Use optparse."
--
Michael Hoffman
Jul 28 '05 #2
He spends so much space on "Create Consistent Command-Line Interfaces,"
a section that, in Python, could be replaced with a simple "Use optparse."
Haha... I don't know why but that really made me laugh. :) Might even
use it as a sig or something... :)

--
Michael Hoffman


Jul 28 '05 #3
gy**********@gm ail.com wrote:
The following url points to an article written by Damian Conway
entitled "Ten Essential Development Practices":
http://www.perl.com/pub/a/2005/07/14/bestpractices.html

Althought the article has Perl as a focus, I thought that some of the
general points made might be of interest to the Python community. It
would certainly be interesting to put together an analogous version of
this article that centers on Python.


import this

And you get 9 bonus Essential Development Practices, too! What a bargain!

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Jul 28 '05 #4
Robert Kern wrote:
import this

And you get 9 bonus Essential Development Practices, too! What a bargain!


One of these days I'm going to figure out how to embody "Namespaces are
one honking great idea -- let's do more of those!" Then I shall be
enlightened.
--
Michael Hoffman
Jul 28 '05 #5
On Thu, 28 Jul 2005 21:19:53 +0100,
Michael Hoffman <ca*******@mh39 1.invalid> wrote:
Robert Kern wrote:
import this
And you get 9 bonus Essential Development Practices, too! What a
bargain!
One of these days I'm going to figure out how to embody "Namespaces are
one honking great idea -- let's do more of those!" Then I shall be
enlightened.


And when the one obvious way to do something *is* be obvious at first,
then I shall be Dutch! <wink>

Regards,
Dan

--
Dan Sommers
<http://www.tombstoneze ro.net/dan/>
Jul 28 '05 #6
In article <dc**********@g emini.csx.cam.a c.uk>,
Michael Hoffman <ca*******@mh39 1.invalid> wrote:
Robert Kern wrote:

import this

And you get 9 bonus Essential Development Practices, too! What a bargain!


One of these days I'm going to figure out how to embody "Namespaces are
one honking great idea -- let's do more of those!" Then I shall be
enlightened.


What don't you understand about it? (This is a serious question -- I
can think of several answers to give you, but want to know what focus is
needed first.)
--
Aahz (aa**@pythoncra ft.com) <*> http://www.pythoncraft.com/

The way to build large Python applications is to componentize and
loosely-couple the hell out of everything.
Jul 28 '05 #7
Aahz wrote:
One of these days I'm going to figure out how to embody "Namespaces are
one honking great idea -- let's do more of those!" Then I shall be
enlightened .


What don't you understand about it? (This is a serious question -- I
can think of several answers to give you, but want to know what focus is
needed first.)


I wasn't expecting a serious answer to this, but here goes.

First, I wasn't a Python user when namespaces were introduced. It's hard
for me to even imagine Python without namespaces. Did imported modules
just go into the same namespace as everything else? Yuck. It's too bad
this happened before there were PEPs so I could understand the design
and what came before.

Is it the fact that Python is unimaginable without namespaces that makes
them such a honking great idea? Aren't they somewhat of an obvious idea?
Several other languages have them.

Was the implementation of namespaces easy or hard to explain?

I'd love to do more honking great ideas, but I'm not even sure what the
Dutch ideal of a honking great idea is in the first place.
--
Michael Hoffman
Jul 28 '05 #8
Michael Hoffman wrote:
Aahz wrote:
One of these days I'm going to figure out how to embody "Namespaces are
one honking great idea -- let's do more of those!" Then I shall be
enlightene d.
What don't you understand about it? (This is a serious question -- I
can think of several answers to give you, but want to know what focus is
needed first.)


I wasn't expecting a serious answer to this, but here goes.

First, I wasn't a Python user when namespaces were introduced. It's hard
for me to even imagine Python without namespaces. Did imported modules
just go into the same namespace as everything else? Yuck. It's too bad
this happened before there were PEPs so I could understand the design
and what came before.


I'm pretty sure that namespaces are fundamental to the design of Python.
I don't think there was any "before namespaces."
Is it the fact that Python is unimaginable without namespaces that makes
them such a honking great idea? Aren't they somewhat of an obvious idea?
Several other languages have them.

Was the implementation of namespaces easy or hard to explain?


It isn't just that Python has namespaces, but that they are the
implementation for quite a lot of things. Modules: namespaces. Classes:
namespaces. Instances: namespaces. Scope: namespaces. It's a very
elegant way to handle a broad class of language features very consistently.

That said, I made a boo-boo. The Zen of Python is really a set of design
principles (and some of them, like this one, are more specifically
*language* design principles), not Essential Development Practices.
That'll teach me to not RTFA.

--
Robert Kern
rk***@ucsd.edu

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Jul 28 '05 #9
On Thu, 28 Jul 2005 15:35:54 -0700,
Robert Kern <rk***@ucsd.edu > wrote:
That said, I made a boo-boo. The Zen of Python is really a set of
design principles (and some of them, like this one, are more
specifically *language* design principles), not Essential Development
Practices. That'll teach me to not RTFA.


May I respectfully disagree? The Zen applies to all aspects of software
(and other things, too, but they're off topic here), from human readable
reports and requirements and documentation, to GUI's, to test cases, to
code, to database schemta, as well as the development methodology and
practices themselves.

Sometimes you have to look at the Zen sideways, so that "implementation "
appears to be replaced by the particular aspect or aspects (or the
software, or just software, as a whole, for the true Masters out there)
you happen to be working on at the time, but such is the nature of Zen.

Regards,
Dan

--
Dan Sommers
<http://www.tombstoneze ro.net/dan/>
Jul 28 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2060
by: Shawn Berg | last post by:
I have just finished reading the "Team Development with Visual Studio .NET and Visual SourceSafe" patterns & practices white paper. I just wanted to get a good feel from others if what they suggest here is really the best implementation for team development. My company only has a handful of developers (2 currently, as many as 5 possibly in the future) that need to work on the same ASP.NET projects. All of our existing apps are in classic...
8
1372
by: whodunit | last post by:
What is the difference in development time, if you can use a rule of thumb, between ASP and ASP.NET? I have read many places that ASP.NET makes you more productive? Well, by how much? I hear all the time that ASP.NET improves development time by 20%. I realize there are many factors to consider, the type of project, etc. But if anyone can generalize without losing the value to answer my question, please do.
2
1828
by: Amelyan | last post by:
Could anyone recommend a book (or a web site) that defines best practices in ASP.NET application development? E.g. 1) Precede your control id's with type of control btnSubmit, txtName, etc. 2) Group relevant .aspx files into subfolders within your project etc.
4
2626
by: Collin Peters | last post by:
I have searched the Internet... but haven't found much relating to this. I am wondering on what the best practices are for migrating a developmemnt database to a release database. Here is the simplest example of my situation (real world would be more complex). Say you have two versions of your application. A release version and a development version. After a month of developing you are ready to release a new version. There have...
1
1132
by: abc | last post by:
Our team have three developers. Each one have a PC as development. Because these PC is slow if it also run VS.NET, IIS and SQL Server Express. For improve debug and development performance, I will move SQL Server to Windows 2003 Server. Can I config three developers to run one web project on IIS under Windows 2003 which is new server machine? If can, how should I do?
10
1689
by: RBD | last post by:
Hi all, I am a a self taught C# programmer. I have been developing custom apps for a few years now, but they have mostly been very small apps for individuals or departments. Now I am getting into fairly large custom apps for small/medium sized companies. My problem is I have been ok with the small apps, but I dont know how to structure large apps. I need resources that will teach me how to structure medium sized applications. I'm...
1
1657
by: Pablo | last post by:
Hello all, Hope today finds you well. I'm looking to take my knowledge of best practices within the development lifecycle to the next level. Basically I want to follow industry recognised, Microsoft approved practices for every aspect of the lifecycle - so planning and architecture, team development, testing procedures, change control and bug-tracking, version control - etc etc. What software to use, which
8
2763
by: situ | last post by:
Hello all, i have Database1 and database2, is it possible to make database connection to database2 by running stored procedure on database1. Thanks and Regards Situ
29
2335
by: Nickolai Leschov | last post by:
Hello, I have done some programming, mostly on embedded systems but now I would feel like I have to learn good development practices (i.e programmer's good manners). Let's say I want to build an application using some established open source library or application. Do I just download the source and hack away? Or I'd better do it in some controlled manner, i.e set up some source control system so that I can always compute the diffs from...
0
8991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8830
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9370
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9321
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8242
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6796
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4874
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3312
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2215
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.