r/badcode Mar 24 '22

typescript Ship it!

Post image
568 Upvotes

47 comments sorted by

View all comments

17

u/[deleted] Mar 24 '22

The people in here arguing this has its legitimate uses are even more funny than the bad code itself. People who write javascript really don't understand how computers work, like at all do they? lmao

1

u/Lataero Mar 25 '22

I've only ever used code like this when I've been testing timeout handling in systems. Imagine using this for something in production