|
succelus (December 31, 1969 at 5:59 pm)
Keep the good Talks !
D3mi4n (December 31, 1969 at 5:59 pm)
This should be part of some kind of "Google academy for software developers"A kind of virtual course for student with, and without, CS (or related) degrees.
scottburton11 (December 31, 1969 at 5:59 pm)
I love these Clean Code Talks with Misko too, he's resolved a lot of issues for me.View the latest one for examples of why static methods, global state and singletons make bad seams and make code harder to test. Even when you can mock the state, its an indication that something else depends on it, that tests have to be run in a specific order, and lots of other issues. It's enlightening.
tartley (December 31, 1969 at 5:59 pm)
Excellent, very insightful. I've been enjoying Misko's essays for a while now.However, in dynamic languages, I don't think it is true that static method calls cannot form a seam for testing. In Python, for example, a static method can be patched out temporarily on either the current module, or another module, for the duration of the test. We use this technique at my work all the time for testing. |