Jeffrey Palermo

மாற்று! » பதிவர்கள்

Jeffrey Palermo

Constructor over-injection smell – follow up    
January 21, 2010, 6:03 pm | தலைப்புப் பக்கம்

This is a follow up to my article: “Constructor over-injection anti-pattern”.  I’ve title this a bit differently because as with any heuristic, there are degrees of goodness and smelliness.  Constructor over-injection, therefore, is a code smell, I believe.  Without concrete do’s and don’ts, I believe it doesn’t deserve the explicit title of “anti-pattern”. I have expanded the code sample (and it is available as a zip or tar file here). I’ve modified the OrderProcessor as shown here. ...தொடர்ந்து படிக்கவும் »
பகுப்புகள்: