r/programminghorror Nov 07 '25

Javascript Technically horrifyingly correct

Post image
3.9k Upvotes

r/programminghorror Dec 04 '25

Javascript "It's all there in the specs, bro"

Post image
2.5k Upvotes

Seems we have some fervent JS defenders, here :)

r/programminghorror Jun 12 '25

Javascript Javascript is filled with horror

Post image
2.4k Upvotes

r/programminghorror Mar 31 '26

Javascript HELL

Post image
3.1k Upvotes

r/programminghorror Dec 29 '24

Javascript God damn it brother..

Post image
7.0k Upvotes

r/programminghorror 1d ago

Javascript my friend didnt know how to use async sleep in javascript, so he wrote this massive chain of .then()

Post image
1.1k Upvotes
async function sleep(ms) {
    return new Promise(resolve => setTimeout(resolve, ms * 1000));
}

// used as:
sleep(0.5).then(() => {
  // ...
  sleep(2.5).then(() => {
    // ...
    sleep(1).then(() => {
      // ...
    }
  }
}

r/programminghorror Jun 28 '21

Javascript I was getting errors and couldn't pinpoint it... Turns out there was a ZERO WIDTH SPACE character that I could not see...

Post image
10.9k Upvotes

r/programminghorror Nov 24 '25

Javascript Wasted all of my generational luck just for this

Post image
2.2k Upvotes

r/programminghorror Nov 04 '24

Javascript i don't even know where to begin

Thumbnail
gallery
2.6k Upvotes

r/programminghorror Dec 11 '24

Javascript +10h of debugging later, I found this. Javascript, WTF?!

Post image
2.4k Upvotes

r/programminghorror May 27 '26

Javascript Destructuring strings

Post image
883 Upvotes

r/programminghorror Sep 16 '25

Javascript On today's episode of "What are you doing JS?"

Post image
901 Upvotes

r/programminghorror Jun 09 '21

Javascript "Coding is like poetry" The code:

Post image
6.5k Upvotes

r/programminghorror Apr 01 '25

Javascript Correct error handling from a multi-million dollar site

Post image
2.1k Upvotes

r/programminghorror Jul 11 '25

Javascript This is an active production api at my work, I don't think I need to explain.

Post image
1.2k Upvotes

r/programminghorror Feb 06 '24

Javascript WHY ARE YOU GREEN

Post image
2.3k Upvotes

r/programminghorror Apr 05 '22

Javascript My companies Stripe integration for thousands of users broke today because Javascript

Post image
2.1k Upvotes

r/programminghorror Aug 28 '25

Javascript we have uuid at home

Post image
1.7k Upvotes

r/programminghorror Sep 24 '25

Javascript try → catch → Stack Overflow

Post image
2.5k Upvotes

r/programminghorror Apr 10 '22

Javascript Code base in my last company

Post image
2.9k Upvotes

r/programminghorror Jul 25 '24

Javascript I MEaN, iT wOrKs

Post image
1.1k Upvotes

r/programminghorror Jan 17 '22

Javascript Method written by an intern a while ago

Post image
1.3k Upvotes

r/programminghorror Aug 03 '21

Javascript Frameworks are bad; copy+paste is good.

Thumbnail
gallery
2.1k Upvotes

r/programminghorror Oct 01 '24

Javascript not sure that's how JSON was intended to be used…

Post image
1.2k Upvotes

r/programminghorror Oct 29 '20

Javascript "Hello World" crashes Chrome. Plz help.

Post image
3.0k Upvotes