Quixoticgeek on Nostr: With these metrics, you discourage the sort of user who spends 3 weeks fixing a bug ...
With these metrics, you discourage the sort of user who spends 3 weeks fixing a bug that's been in the code base for 3 years. In the end they removed one line, to fix the bug. By the metrics: -1 line. 1 Commit. Clearly they aren't doing as well as the person who added 1000 new lines of code... across 15 commits.
I have genuinely spent 3 days on one bug, and fixed it by removing one character.
Deleting code is often one of the best things a programmer can do.
But it's disincentivised.
5/n
Published at
2024-01-26 12:40:47Event JSON
{
"id": "1b26fe4033c12738408b11df842de0deb35e0b912c11a7b1814c1a3e0bc03704",
"pubkey": "152fb8cb6e662dc8ed2acb9e8590187ac1b047635daa124139ba77c26066f16e",
"created_at": 1706272847,
"kind": 1,
"tags": [
[
"e",
"38d7a1a52bdb3259cf4190802ffef54241eaed4842a2edd3be801d0fe1dd94a7",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://social.v.st/users/quixoticgeek/statuses/111822297328119811",
"activitypub"
]
],
"content": "With these metrics, you discourage the sort of user who spends 3 weeks fixing a bug that's been in the code base for 3 years. In the end they removed one line, to fix the bug. By the metrics: -1 line. 1 Commit. Clearly they aren't doing as well as the person who added 1000 new lines of code... across 15 commits. \n\nI have genuinely spent 3 days on one bug, and fixed it by removing one character.\n\nDeleting code is often one of the best things a programmer can do.\n\nBut it's disincentivised.\n\n5/n",
"sig": "3ad0e0ee2062a6bc338513658bcbbcade99f46117b7d372ecf429b165f8cea52e9ed94fedf210b8aa3d4d8b5bd3dcaa7bbf576d7ae60ab2da337c9757d832108"
}