1508
Why indeed (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] x4740N@lemm.ee 1 points 2 days ago

Lazy devs not removing old non functional commented code and background code additions ?

Though I do get it if they don't want to remove the old code if their employer is an asshole

[-] SketchySeaBeast@lemmy.ca 4 points 1 day ago

That's not why. It's the dependency trees that run a dozen layers deep and end up importing "isEven". If you're building a react app odds are good you'll import way more code than you ever write yourself.

And no one should be leaving commented-out code in their app, that's what source control is for.

this post was submitted on 21 Mar 2025
1508 points (98.3% liked)

Programmer Humor

21852 readers
2594 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS