Yeah, I Agree, that example he uses is a bit dodgy but I can understand why he didn't want to write an entire DI engine for a beginners tutorial. Anyway, Like I say, I found it was an ok place to start before moving on to other stuff.
J
James McConville
@James McConville
Posts
-
Newbie (but sort of advanced) Dependency Injection questions... -
Newbie (but sort of advanced) Dependency Injection questions...hey, I just started taking a look at this myself. Try the following - takes you through building your own (if very simple IOC).. http://weblogs.asp.net/sfeldman/archive/2008/02/14/understanding-ioc-container.aspx[^] Hope that helps.
-
Need help devising interview questions for a juniorYou can work them out pretty quickly by not only asking the differences between interfaces and base classes but how and when it is best to apply each. I wouldn't bother asking silly questions like the number of piano tuners in london. Remeber, you're hiring a junior developer. They're likely to be a bit shy so don't terrify them within 2 minutes of the interview starting.