>>
>>Just in case you think this is a disadvantage of classes, I want to point out that the situation is quite similar with traditional (non-OOP) programming.
>>
>>You have a function (user-defined function) B() that depends on function A(). In order to use function B(), you also need to distribute function A().
>>
>
>Hilmar,
>
>You typically only have to distribute the compiled object code, not the source itself.
Again, the situation is similar betwixt classes and traditional programming. You can take the source code out of a class library too. This is especially easy if the classes are defined in a PRG; it causes extra work (to eliminate the source code) if the classes are defined visually.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)