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

Programmer Humor

21874 readers
365 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] x4740N@lemm.ee 1 points 2 days ago (1 children)

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 2 days 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.