Its not difficult to track "velocity" via story points,features or bugs and is at least a step in the right direction.
LOC going down is often adding the most value.
Its not difficult to track "velocity" via story points,features or bugs and is at least a step in the right direction.
LOC going down is often adding the most value.
People also take offense because a management weenie can misread the metric and penalize people who delete code, or write concise code, or solved a super tricky critical bug after a month of debugging with a one-line change.
But I still claim, these all normalize in the end. If a developer on my team has committed only 30 lines in three months, sorry but I'm gonna be skeptical of their actual productivity.
No, but you can implement a "story", i.e. the removal of code is presumably a ticket somewhere in the system. (Or could become one.)
> I've never been in a codebase that did more and more by getting smaller.
Run on a smaller system? Run faster?
(I'm not sure whether or not I agree with the parent's point, nor yours, just offering suggestions.)
If LOC is what you rely on, I'd be sceptical of many things, sorry not sorry.
I've just committed 3 lines that fix a bad intermittent race condition that took over a month to track down (partially because I can't test it and have to rely on other people who aren't 100% available). Is that unproductive?
On the other end, I'd fully expect someone doing that producing : - 3 lines of fix - A comprehensive documentation of what happened here, how to diagnose it and track it down, and how to avoid it in the future, (ideally if the company supports it with an oral explanation to concerned teammates).
In the end, I'd be very skeptical of one month of work letting 3 LOC as the only tangible output too.
The problem and diagnostic conversations are documented in the JIRA ticket; the solution is documented in another ticket which "fixes" the first one (for abstruse internal reasons); and more commentary is provided in both the comments around my fix and my verbose commit message.
(Also there's a whole bunch of angry Slack ranting about this issue but that probably doesn't count as "documentation".)
I suppose it depends what people mean by LOC. I guess my 3 LOC isn't actually just those 3 LOC. Definitely an interesting thing to think about at least. Ta!