jblack1395 (36) [Avatar] Offline
#1
It may be helpful if you had a small sidebar about DI, as, by using something similar to Unity or Spring .NET you can have the class instance injected in, so you don't explicitly call the new on the class.

I think it is a better coding style, which is why I thought you may want to mention it. I was looking at listing 9.16 which is why I thought of it.
Domagala.Lukas (1) [Avatar] Offline
#2
Re: Dependency Injection for implict interface implementation
I´m not that far into the book yet, but I like the idea of contrasting "best practices" in the functional world with the OO world. Stuff like DI, ORM´s, SOLID and so on