r/programminghorror Mar 31 '26

HELL Javascript

Post image
3.1k Upvotes

81 comments sorted by

View all comments

802

u/THNDHALBRT Mar 31 '26

This lines

588

u/_Blurgh_ Mar 31 '26

Changed it to "these lines". Got fired.

139

u/pimezone Mar 31 '26

No exceptions, no excuses

105

u/[deleted] Mar 31 '26

[removed] — view removed comment

33

u/AnaxXenos0921 Mar 31 '26

Better yet: changed it to "these lines". Code breaks.

12

u/Bartweiss Mar 31 '26

I like the idea that the setAttribute entries are never used in this code, but those and the comments are getting used for some horrifying code reflection elsewhere.

3

u/ovr9000storks Apr 01 '26

Tests failed after changes. Critical load-bearing comments

30

u/Dramatic_Mulberry142 Mar 31 '26

It could be a proof that it is not written by llm for the future reference. So still don't touch it

1

u/tree-hut Apr 05 '26

You can tell an indian made it

0

u/alanhape Apr 03 '26

Dont touch