Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Clean Code A Handbook of Agile Software Craftsmanship. Tools, Patterns and Exceptions

 
Antonio Fornie
Ranch Hand
Posts: 117
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I'd like to ask three questions:

1� Is there any tool you recommend to detect bad code? Does it really work?

2� Martin Fowler (in his book, Patterns of Enterprise Application Architecture) talked about three ways or patterns to implement business: Transaction Script, Table Module and Domain Model. The only one really object oriented is Domain Model. Should we say Domain Model is the only pattern that avoids bad code?

3� About catching exceptions, is there any tip to know where to capture and where to throw them?

Thank you very much. I'm really interested in your book.

Antonio
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Antonio, to avoid confusing discussions, it might be a good idea to ask your three questions in three different threads. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic