Re: [java-gnome-hackers] Libraries vs Packaging (1): Linkage
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2011-06-01 23:53:50
|
As an aside, On Wed, 2011-06-01 at 14:19 -0300, Francisco Ortiz wrote: > - using a factory: its a derivative of the previous one, but cleaner. > The factory is responsible of provide the correct implementation, it > will return a class that implements an interface which can be the real > implementation or the mocked/not supported by the system one. Again , > its more code but cleaner. If we had done an interface based design for 4.0, as I originally considered, then this would be a snap. But interfaces didn't work out, and changing our entire public API to interfaces-only at this point would be ... messy. Like 5.0 messy. http://java-gnome.sourceforge.net/4.0/doc/design/5a-Architecture.html I mean, go ahead if you want, but it's about 2 years work. Just thought I'd let you know. :) AfC Sydney |