[TYPO3-mvc] questions: @lazy, @inject, @api, constructors

Sebastian Kurfürst sebastian at typo3.org
Tue Jan 19 11:41:38 CET 2010


Hey,

>> The Factory pattern is another solution to ensure invariants.
> 
> Defaults are not invariants. I like factories, but I thought they are bad when it comes to unit testing?
... But defaults should conform to invariants as well ;-)

Hmm, why should factories be bad when it comes to unit testing?

Greets,
Sebastian


More information about the TYPO3-project-typo3v4mvc mailing list