Re: Why is Delphi more RAD than C++ ?



mr_organic wrote:

I can boil Wayne's protestations down to a simple "I like UML and
refuse to hear a word against it!". *Shrug* Do what makes you happy.

Yes you can, and by doing so, sidestepping the questions asked. I don't
question your preference not to use UML - like you say, do what makes you
happy - but I certainly question your assertions about complexity and
fragility, etc.

The interesting part is that I was initially with you on this issue - not
exactly the same reasons; to me it was just one more kind of document
customers were going to expect from me, not something that was going to help
me code anything better. I was fine with my paper and pencil scribbles and
otherwise holding my models in my head while I coded.

But I decided I'd better learn to use the tools and get all the symbols
straight in preparation for being able to produce them when demanded. So I
started "documenting" my models (as an aside I bought Enterprise Artchitect
for this - cheap but very complete and easy to use). One day I looked at a
class diagram I had just done and realized there was a class in my
application that was completely redundant, several other classes were
creating instances of this class just so they could pass on data and
commands to other classes. Sometimes such a class can be a good thing - it
can reduce dependencies between other classes, but in this case it was just
plain useless. But it only became apparent by seeing it all in front of me
visually.

It is only then that I started to use UML (mostly just class diagrams) to
help me *design* instead of considering it useless, after the fact,
documentation. Ironically, no customer has ever yet asked me for such
diagrams, though on occasion I've used them to good effect to explain ideas
to them or create deployment diagrams which can be useful as part of overall
documentation for them.

--
Wayne Niddery - Winwright, Inc (www.winwright.ca)
"We've all heard that a million monkeys banging on a million
typewriters will eventually reproduce the entire works of Shakespeare.
Now, thanks to the Internet, we know this is not true." ? Robert
Wilensky


.



Relevant Pages

  • Re: native arrays in class diagrams
    ... If you look at the MDA profiles for translation methodologies (e.g., "Executable UML" by Mellor and Balcer), they only use a smallish subset of UML. ... The actual key value used during a specific collaboration will have to be defined at the exact point where the relationship will be navigated. ... The WHERE syntax provides exactly the same semantic baggage that the Class Diagram representation does. ... Yet the AAL also captures the dynamics of specific selections in an elegant fashion. ...
    (comp.object)
  • Re: PHP and Diagram Tool
    ... UML isn't that simple at all. ... It may well be that the OP wants more detailed documentation and a few relationships in which case diagrams are _not_ the way to go at all. ... All-in-all I would rather spend the time others spend on pretty pictures, doing written documentation and exercise code. ...
    (comp.lang.php)
  • Re: Programming to an Interface
    ... Since object properties are defined as responsibilities, I think all Larman is defining is What the object should know and do. ... And, in fact, the public properties identified on a UML Class Diagram are usually mapped directly to a class interface type at OOP time. ...
    (comp.object)
  • Re: TDD: Test-Driven Design or Test-Driven Development?
    ... >> how to improve the code to express their intent. ... >ancillary documentation? ... >> diagrams they drew. ... >> UML instead of expressing themselves in code. ...
    (comp.object)
  • Re: Q: Solutions for requirements tracing (to design, code, and test items)
    ... This is the way translation tools like PathMATE handle documentation. ... If you are doing UML models for the design, most drawing tools allow the application of such tags to model elements fairly painlessly. ... Now that OMG is standardizing tools through MDA, most UML drawing tools offer an XMI or equivalent access to the tool repository to extract the tags and their association with model elements. ...
    (comp.object)