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.



Comments
Ric Rude replied ago:
McCabe and similar tools are not useful and just lead to bad code as devs refactor to try to meet the required complexity number.
Dave Newton replied ago:
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.
Voters For This Link (12)
Voters Against This Link (2)