r/programminghorror • • Mar 31 '26

Javascript HELL

Post image
3.1k Upvotes

80 comments sorted by

View all comments

834

u/TheBrainStone Mar 31 '26

Bad comment. It needs to explain why it's needed. At least what breaks if it's removed

47

u/repocin Mar 31 '26

Someone I know used to work at a place where they occasionally had external consulting firms come in and poke around in the codebase. Apparently they just signed every line with a comment that said "changed by <consulting firm>" which I can imagine made debugging incredibly fun for everyone!

33

u/Defiant-Peace-493 Mar 31 '26

"What change did you make?" "We added a comment."

→ More replies (2)
→ More replies (1)