how to present Python's OO feature in design?

Peter Hansen peter at engcorp.com
Sun Nov 6 23:51:24 EST 2005


bonono at gmail.com wrote:
> aum wrote:
>>On Sun, 06 Nov 2005 19:06:49 -0800, pcmanlin wrote:
>>>As I know java has many UML tools to design for its OO feature, is
>>>there any tools or good concept for Python project Modeling?
>>
>>Just code the bloody thing!
>>
>>One of Python's strengths is its rapid design/programming/testing
>>turnaround. And virtually none of Java's mind-gnashing red tape.
> 
> For a project that involves more than a handful of people, I don't
> think this approach would work.

If by "this approach" you mean "just code [it]", then you're correct. 
That's basically the (old) definition of hacking, and it results in 
spaghetti and hairballs as soon as you get beyond one programmer or 
twenty lines of code.

If you mix in some decent modern techniques, however, such as automated 
testing (e.g. Test-Driven Development) and an agile development 
methodology, it certainly does work, and very well.  And definitely 
still without the "mind-gnashing red tape" of Java, UML and their ilk.

-Peter



More information about the Python-list mailing list