Standalone Python functions in UML?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nicola Musatti

    #16
    Re: Standalone Python functions in UML?


    bruno at modulix wrote:
    [...][color=blue]
    > Yes, there's in UML a fundamental distinction between classes and
    > objects - distinction that does not exist in a lot of OO languages. This
    > greatly limits UML's usability for some common idioms in dynamic OOPL's.
    > Seems like UML has been designed to express only the restricted subset
    > of OO supported by rigid static languages like C++, Java and ADA.[/color]

    Moreover, it also seems like UML has been designed to express the
    restricted OO subset of the paradigms supported by languages like C++
    and ADA.

    And I suspect UML design tools are not that popular within the C and
    Lisp programming communities...

    Cheers,
    Nicola Musatti

    Comment

    • Roman Susi

      #17
      Re: Standalone Python functions in UML?

      Marc 'BlackJack' Rintsch wrote:[color=blue]
      > In <mailman.4054.1 144138640.27775 .python-list@python.org >, Roman Susi
      > wrote:
      >
      >[color=green]
      >>Out of curiosity, how do I draw functions outside classes with UML? How
      >>module could be drawn in this case?[/color]
      >
      >
      > I just create a (UML) class for modules. After all a Python module can be
      > seen as a class definition for a singleton which is instantiated at import
      > time.[/color]

      Thanks. That was precise answer to one of the questions.

      I am not able to answer to everyone, but I see it really boils down to
      UMLs restricted nature. That is quite ok.
      [color=blue]
      >
      > Ciao,
      > Marc 'BlackJack' Rintsch[/color]

      Sy,
      Roman

      Comment

      Working...