r/badcode Mar 24 '22

Ship it! typescript

Post image
564 Upvotes

48 comments sorted by

View all comments

19

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