Added: 2 years ago
From: GoogleTechTalks
Views: 24,236
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (23)

Sign In or Sign Up now to post a comment!
  • 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?

  • 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.

  • @edovale

    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?

  • I meant LoginPage, sorry.

  • 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.

  • You are so awesome

  • Great talk - simple, practical and to the point.

  • Thanks...

    I believe this is very helpful tip for all developers.

  • Comment removed

  • Another Great Talk- a summary of his other "Clean Code Talks".

    The one thing I still lament that is not addressed well is how to simplify DI and Testing in C++.

  • I also saw his previous "clean code talks" (it's been a while, so it was a good opportunity to refresh it), but am I wrong or did he change his mind about null objects? iirc, before he was a proponent of using null pointers.

  • Great talk!

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more