1. 17
    1. 5

      As the old adage goes, “Measuring software productivity by lines of code is like measuring progress on an airplane by weight.”

    2. 5

      Many years & 2 jobs ago my team was set a Key Performance Indicator of “number of lines in the error log”. Someone on my team, more devious than me and (presumably) to demonstrate what he thought of this KPI, removed all line breaks from the entries printed to the error logs–including those occasional pesky stack traces…

      1. 1

        DEBUG_LOG(“error: %s”, err);

        Compiles out in release mode ;)