The Stinky Code Project

19
The Stinky Code Project Simon Stewart ([email protected]) @shs96c

description

 

Transcript of The Stinky Code Project

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