[Tutor] definition of a library

Alexey Rusakov cpp@userline.ru
Wed, 20 Mar 2002 22:31:53 +0300


Hi!

> I usually distinguish between modules and libraries (despite 
> the definition that was quited earlier!) Libraries can be an 
> amalgam of several modules. A module is a unit of reusable code.
> A library is a physical file that contains reusable or shared 
> code, and that may include multiple modules. Its a subtle but 
> sometimes important distinction (and one not recognised 
> by UML for those who care :-).
What you call modules is named packages in UML. Libraries, respectively, are components in UML. Packages are used to represent a logical structure, components belong to a physical structure. The difference is not very subtle, IMHO :)

-- 
  Alexey Rusakov aka Ktirf
  RingRows
  mailto: cpp@userline.ru