HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 457683 thumbnail
User 207355 avatar

By shmonder
via blog.programeter.com
Published: Jul 30 2010 / 15:22

Let’s try to understand and discuss why would a developer be afraid of software metrics. First thing that comes to my mind is the fear that my personality will be reduced to a single stupid number and I will be harassed by the management based on this number.
  • 12
  • 2
  • 1733
  • 0

Comments

Add your comment
User 713041 avatar

Ric Rude replied ago:

-1 votes Vote down Vote up Reply

McCabe and similar tools are not useful and just lead to bad code as devs refactor to try to meet the required complexity number.

User 306525 avatar

Dave Newton replied ago:

0 votes Vote down Vote up Reply

That's radical over-simplification, and you're giving developers a motivation they might not have. Metrics are a tool like any other: they can be abused and not used to a good end, or they can be used for what they are--various ways of quantifying aspects of code. Some might be relevant, some might not be. Refactoring doesn't intrinsically lead to bad code, even refactoring on a purely metric-based basis doesn't intrinsically lead to bad code. Bad refactoring leads to bad code.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.