this post was submitted on 12 Feb 2026
26 points (96.4% liked)

Programming

25522 readers
396 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] pHr34kY@lemmy.world 15 points 1 day ago* (last edited 1 day ago)

I would spend 4 hours writing 100 lines of code, then spend another 8 hours reducing it to 50 lines.

A LOC is a liability, not an asset. A LOC you didn't write is even more so. I don't think AI is even good at refactoring and optimising. My static analysis tools do a better job.

Golfing is life.