Re:Ask HN: A Book or Course to Learn Code Quality/Structure?
by hayst4ck on Friday December 16, 2022 @12:24PM
(#34017342)
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.
Until you understand:
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-co... http://misko.hevery.com/2008/08/29/my-main-method-is-better-...
http://misko.hevery.com/category/advice/ http://misko.hevery.com/category/uncategorized/