Use Modular Architecture

From APIDesign

Revision as of 00:33, 13 April 2008 by Tomwheeler (Talk | contribs)
Jump to: navigation, search

The example of the JDK as non-modular may be out of date by the time you go to print! :)

I'd like some discussion of how you modularize a project that already has a large, non-modular, full-of-spaghetti code base. I think this would resonate with a lot of programmers.

Also, I'd like you to address non-runtime modularization. That is, just enforcing module dependencies at compile time, in the ant script. It's perfectly valid, requires no additional software like OSGI, but has some pitfalls (Class.forName, etc). For some organizations that are mistrustful of runtime modularization's performance impact (warranted or not), it's better than nothing. --RichUnger 22:40, 10 April 2008 (UTC)


  1. Page 99: "Modular programming is here to make it happen." This implies that modular programming encourages the degradation of the architecture rather than preventing it, so you probably meant "Modular programming is here to help prevent it."

--TomWheeler Sat Apr 12 19:13:37 CDT 2008

Personal tools
buy