Google tech talks by Miško Hevery

Today I revisited some Google tech talks given by Miško Hevery about writing testable code. I seem to watch a lot of Google tech talks and the ones given by Miško have got to be some of my all-time favourites. Not only is he fortunate enough to have a cool name, but coincidentally has a great talent when it comes to breaking down and explaining technical topics.

Back a year ago or so the phrase “dependency injection” kept rearing its ugly head and I couldn’t get away from it. Although I spent some time reading about it and could explain what it was, I never really understood it in terms of application. Then one day I stumbled across one of these videos while having lunch and it all started to make some sense, now that it had been given some context.

I’ve written a reasonable number of tests before on past projects but truth be told I’m still probably a bit of a n00b with the whole thing. Keep in mind though, the videos discuss how to write code that’s testable, not the tests themselves… Either way, what I like most about Miško’s talks is that the methods he demonstrates for writing testable code seem to enhance the overall quality of the code in a number of other dimensions. Now I just need a project to start applying all this stuff to. Yeah yeah, onto the videos…

Video 1

Video 2

Video 3

Video 4

For anyone new to Google tech talks, there’s a whole bunch more from other people also. I’ll continue to be taking my favourite ones and posting about them here.

Leave a Reply