Design Tech Talk Series Presents: OO Design for Testability
Top Comments
All Comments (23)
-
I've searched for the other 3 talks (since this is the fourh) but I couldn't find them. Can someone please give me the link?
-
I meant LoginPage, sorry.
-
Well I think he refered to the latter case as "the class with singleton lifetime" and not a singleton (I noticed this ambiguity only when he talked about the Login_class). And he did not say it was problematic to test because it had singleton lifetime, he said it was problematic owing to it's dependencies, and therefore that particular class might have been better as short-lived class with different dependencies, that wouldn't force it to break the law of Demeter.Am I getting it right?
-
Very nice talk. A bit ambiguous with the term singleton. There is the singleton pattern as described in the Gof4 book which is the one that is problematic to test and there is the single instance of a class throughout the life of the application. There is nothing wrong with the latter IMO.
-
Misko Hevery for president!
-
Thanks for the great presentation.
-
Awesome presentation!
Misko thank you very much for doing these talks. Your clean code talks has helped my work tremendously.
neohubris 2 years ago 12
Great talk!
espinchi 2 years ago 9