On Aug 28, 2008, at 10:04 AM, Tammo van Lessen wrote:
Apropos, is there a reason why we don't use dependency injection? I think it would ease such configuration issues a lot, though it would require quite huge refactorings.
You mean use Spring or Guice or some such? I'd give Spring a -1 just because I can't stand to look at the object model (piled three and four deep with subclasses...) and because it's not well-factored for polite use as a library (lots of dependencies, etc.).
What are the use cases for the engine that would be helped with a DI framework? (In the olden days of PXE pre-ODE, we used a dual-layer scheme with JMX and JNDI... Not something that I'd advocate reintroducing at any rate.)
-- Paul
