Talk:TypesOfDependencies
From APIDesign
(Difference between revisions)
(Undo revision 2108 by 81.27.246.204 (Talk)) |
(Undo revision 2087 by 216.130.157.20 (Talk)) |
||
Line 13: | Line 13: | ||
--[http://www.tomwheeler.com/ Tom Wheeler] 06:36, 24 February 2009 (CET) | --[http://www.tomwheeler.com/ Tom Wheeler] 06:36, 24 February 2009 (CET) | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</div> | </div> |
Revision as of 19:35, 14 March 2009
Comments on TypesOfDependencies <comments />
One of the advantages of NetBeans Platform development (and I supposed also of other module systems such as OSGi) is that such dependencies must be explicitly stated.
Large monolithic Swing applications tend to devolve because any public class is visible to any other class in the entire application. The isolation afforded by module systems like those found in the NetBeans Platform mean that only APIs you explicitly wish to be globally visible will be.
Since dependencies must be declared in such a system, it prevents "accidental" API design and makes it easy to locate consumers of your APIs so you can evaluate how they're really being used.
--Tom Wheeler 06:36, 24 February 2009 (CET)