103
you are viewing a single comment's thread
view the rest of the comments
[-] Slaxis@discuss.tchncs.de 11 points 3 days ago

I’m no developer, just so some casual scripting for my job, but lines of code being a performance metric is a hilarious notion. Like, the indicator of good code is that it’s efficiently written in a small number of lines. It’s similarly just as easy to waste tokens on nothing of value.

[-] kureta@lemmy.ml 3 points 2 days ago

I love this story:

A division of AppleComputer started having developers report LinesOfCode written as a ProductivityMetric. The guru, BillAtkinson, happened to be refactoring and tuning a graphics library at the time, and ended up with a six-fold speedup and a much smaller library. When asked to fill in the form, he wrote in NegativeLinesOfCode. Management got the point and stopped using those forms soon afterwards.

[-] dbtng@eviltoast.org 1 points 2 days ago

I wouldn't mind seeing lines of comments and external documentation as metrics. Perhaps as a ratio to functions or sections. I know, requiring it would just lead to crappy documentation, but that's typically better than none at all, and there's a lot of folks out there just too busy with their brilliance to write up what they just coded.

this post was submitted on 26 Apr 2026
103 points (94.0% liked)

Technology

84222 readers
3505 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS