A good example of why code quality will never be objectively measurable

I like this refactoring example a lot. As pointed out, trimming down functions to do “only one” thing is a widely known best practice, but one man’s “one thing” might be someone else’s “two things”.

So… come on with your metrics, guys! they’re probably never going to match the “WTF/min” metric of a human-being senior developer.

Leave a Reply