UML to Python/Java code generation

Magnus Lycka lycka at carmen.se
Mon Jun 20 15:58:30 EDT 2005


James wrote:
> The brain may be fine for generating Python from UML but it is MANY
> MANY orders of magnitude harder to generate UML from code with just
> your brain than using a tool (usually zero effort and error free) no
> matter how good you are at Python.

I've really only used Rational Rose, but that tool is
really limited in both directions. Class structure to
class diagrams work both ways (not for Python, but for
Java and C++ at least) but that's just a tiny part of
UML.

I don't expect any tool to do anything meaningful about e.g.
use case diagrams, but what about activity diagrams, sequence
diagrams, collaboration diagrams and state diagrams?

I agree that the brain is poor at such things, but I doubt
that any current tool is much better except for trivial
subsets of UML.



More information about the Python-list mailing list