0
The Stinky Code Project

Simon Stewart (shs@google.com)
          @shs96c
Data Envy
Breaking the Law (of Demeter)
The Evil Singleton
Static Cling
Mocking Too Far
Too Many Mocks
Tests at Too High a Level
Tests at Too Low a Level
Fat Constructors
Deep Inheritance
Obscure Intent
Polynaming
Single Layer of Defence
Test Code is Disposable
Mumpsimus




http://www.flickr.com/photos/deepblue66/132439533/
When the Going Gets Tough (the
Tough Stop Testing)
Inconsistency




http://www.flickr.com/photos/31284576@N06/3105146919/
Fin
Upcoming SlideShare
Loading in...5
×

The Stinky Code Project

997

Published on

Published in: Technology, Sports
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
997
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "The Stinky Code Project"

  1. 1. The Stinky Code Project Simon Stewart (shs@google.com) @shs96c
  2. 2. Data Envy
  3. 3. Breaking the Law (of Demeter)
  4. 4. The Evil Singleton
  5. 5. Static Cling
  6. 6. Mocking Too Far
  7. 7. Too Many Mocks
  8. 8. Tests at Too High a Level
  9. 9. Tests at Too Low a Level
  10. 10. Fat Constructors
  11. 11. Deep Inheritance
  12. 12. Obscure Intent
  13. 13. Polynaming
  14. 14. Single Layer of Defence
  15. 15. Test Code is Disposable
  16. 16. Mumpsimus http://www.flickr.com/photos/deepblue66/132439533/
  17. 17. When the Going Gets Tough (the Tough Stop Testing)
  18. 18. Inconsistency http://www.flickr.com/photos/31284576@N06/3105146919/
  19. 19. Fin
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×