Voting: Unterschied zwischen den Versionen

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche
(RhzqwzkLoLIwuXho)
K (Weiterleitung auf Kategorie:Voting erstellt)
 
(33 dazwischenliegende Versionen von 23 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
Perhaps it's just my limted penasrol experience with IoC, but I'm not convinced (yet) that making my classes more complex by adding calls to factories that abstract away calls to service locators (or worse, making my classes depend directly on the IoC containers themselves) is all that much better than a few extra parameters being passed into a constructor.  Perhaps another valid approach would be to consider why the class has so many different contexts that not all of the dependencies are used in every case and refactor it down to multiple classes.  In the end, I'm sure there are cases where both approached make sense  thanks for pointing out the design consideration!
+
#REDIRECT [[:Category:Voting]]

Aktuelle Version vom 21. Februar 2013, 23:12 Uhr

Weiterleitung nach: