How to actually write a program?

Ville Vainio ville at spammers.com
Tue Sep 7 14:06:52 EDT 2004


>>>>> "Peter" == Peter Hansen <peter at engcorp.com> writes:

    Peter> Ahhh!!! Run away some more!  UML and XP are nearly
    Peter> anti-thetical.  Don't even consider going there.  (Well,
    Peter> consider it, but please don't waste any money buying a UML
    Peter> book as you do.  Find a few web sites, then ... run away!
    Peter> It's cheaper that way.)

There should really be a pythonic alternative to UML. I'm talking
about a textual format that can be rendered to pretty graphical
diagrams for PHBs/project managers to drool at. Text format would be
easy to edit with just an editor, it would be version-controllable,
scriptable, blah blah. I bet a lot of anti-UML attitude can be
attributed to the clumsy, non-programmery process that manipulating
UML images graphically involves.

I'd like to "draw" sequence diagrams like:

object user, slot,sensor, beeper

user - slot  insertCoin(0.20)
  slot - sensor report(1,0.20)
  sensor - beeper trigger()
user - slot  insertCoin(0.20)
  ...

etc.

Then I could easily insert new stuff retroactively by just editing the
file, without having to load the thing into some horrible bloated
expensive peace of (krhm) software that breaks the image into
irrepairable mess by just having the user click on the wrong widget.


-- 
Ville Vainio   http://tinyurl.com/2prnb



More information about the Python-list mailing list