3 ms·
Lines of codes is not a measure of anything meaningful on its own. The mere fact that you suggest this as prove that you are more productive makes me think you
by shafyy 1y ago
Lines of codes is not a measure of anything meaningful on its own. The mere fact that you suggest this as prove that you are more productive makes me think you are not.
- CuriouslyC 1y agoThe SWE industry is eagerly awaiting your proposed accurate metric. I find that people who dismiss LoC out of hand without supplying better metrics tend to be low performers trying to run for cover.
- oofbey 1y agoLoc is so easy to game. Reformat. Check in a notebook. Move things around. Pointless refactor. If nobody is watching loc, it’s generally a good metric. But as soon as people start valuing it, it becomes useless.
- sebastiennight 1y agoSee https://en.wikipedia.org/wiki/Goodhart's_law https://en.wikipedia.org/wiki/Goodhart's_law and, in the case of "Lines of code" as a metric: https://en.wikipedia.org/wiki/Cobra_effect https://en.wikipedia.org/wiki/Cobra_effect
- dmamills 1y agoA metric I'd be interested in is the number of clients you can convince to use this slop.
- CuriouslyC 1y agoThat's a sales metric brother.
- laserlight 1y agoI understand that you would prefer to be more “productive” with AI but without any sales than be less productive without AI but with sales. To clarify, people critical of the “productivity increase” argument question whether the productivity is of the useful kind or of the increased useless output kind.
- troupo 1y ago> The SWE industry is eagerly awaiting your proposed accurate metric. There are none. All are various variant of bad. LoC is probably the worst metric of all. Because it says nothing about quality, or features, or number of products shipped. It's also the easiest metric to game. Just write GoF-style Java, and you're off to the races. Don't forget to have a source code license at the beginning of every file. Boom. LoC. The only metrics that barely work are: - features delivered per unit of time. Requires an actual plan for the product, and an understanding that some features will inevitably take a long time - number of bugs delivered per unit of time. This one is somewhat inversely correlated with LoC and features, by the way: the fewer lines of code and/or features, the fewer bugs - number of bugs fixed per unit of time. The faster bugs are fixed the better None of the other bullshit works.
- wiml 1y agoYou're new to the industry, aren't you?
- shafyy 1y ago> low performers trying to run for cover Oh no, you've caught me. On a serious note: LoC can be useful in certain cases (e.g. to estimate the complexity of a code base before you dive in, even though it's imperfect here, too). But, as other have said, it's not a good metric for the quality of a software. If anything, I would say fewer LoC is a better indication of high quality software (but again, not very useful metric). There is no simple way to just look at the code and draw conclusions about the quality or usefulness of a piece of software. It depends on sooo many factors. Anybody who tells you otherwise is either naive or lying.