3 ms·
FWIW, that page itself is a tactical summary of what the guy thinks. Until you understand: Draw object graph then execute the program Object lifetimes, an
by hayst4ck 4y ago
FWIW, that page itself is a tactical summary of what the guy thinks.
Until you understand:
Draw object graph then execute the program
Object lifetimes, and their relationship with each other
Dependency injection
What is global state
testability = good architecture
hard to test = bad architecture (and why)
Then you probably haven't read enough of his stuff yet.
It's the blog posts themselves that are the gold:
http://misko.hevery.com/2008/08/01/circular-dependency-in-constructors-and-dependency-injection/ http://misko.hevery.com/2008/08/01/circular-dependency-in-co...
http://misko.hevery.com/2008/08/29/my-main-method-is-better-than-yours/ http://misko.hevery.com/2008/08/29/my-main-method-is-better-...
http://misko.hevery.com/category/advice/ http://misko.hevery.com/category/advice/
http://misko.hevery.com/category/uncategorized/ http://misko.hevery.com/category/uncategorized/