News for hackers. Stuff that matters.
Re:Stop writing classes... by quotemstr on Saturday March 17, 2012 @04:45PM (#3718146)
Down that road lies the hell of dependency injection frameworks. A simpler approach is to use something like detours[1] to mock bare functions directly.

[1] https://research.microsoft.com/en-us/projects/detours/

Re:Stop writing classes... by Drbble on Saturday March 17, 2012 @11:30PM (#3719013)
Google Guice is not hell.