Dijkstra, of course. From the excellent and predictably poorly received On the cruelty of really teaching computing science[1]:
My point today is that, if we wish to count lines of code, we should not regard them as “lines produced” but as “lines spent”: the current conventional wisdom is so foolish as to book that count on the wrong side of the ledger.