logoalt Hacker News

prependyesterday at 9:16 PM2 repliesview on HN

This reminds me out the outsourcing craze of the 00s when my employer wanted 80% of code written by our Indian partner. And they measured it by lines of code.

Quite a bit of my time was spend rewriting the massive amounts of garbage churned out by offshore partners.

Management stuck to their goal, so the compromise was to not delete offshore lines, but to comment them out.

Lines of code is a dumb metric and anyone touting them for anything meaningful is disconnected from reality. Bad that all these ceos are touting it, but they kind of always use these dumb metrics.


Replies

az09mugenyesterday at 9:25 PM

This is the perfect illustration of Goodhart's Law : https://en.wikipedia.org/wiki/Goodhart%27s_law

allanmacgregoryesterday at 9:18 PM

Even worse there are more than a few CTOs touting it.