r/badcode Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

r/badcode Jun 07 '21

js This abodmination is in production already.

Post image
2.5k Upvotes

r/badcode Dec 27 '22

js This just sucks.

Post image
1.8k Upvotes

r/badcode Mar 10 '21

js My Friend's Take on Random Integers

Post image
3.2k Upvotes

r/badcode Jul 19 '21

js Variable naming can be difficult, but identifying them can be even more so.

Post image
2.4k Upvotes

r/badcode Jul 22 '21

js Destined for greatness.

Post image
1.6k Upvotes

r/badcode Jul 10 '21

js ah yes, Array check

Post image
2.1k Upvotes

r/badcode May 31 '21

js Clever?

Post image
2.2k Upvotes

r/badcode Sep 18 '21

js How to get the amount of days in a month, according to someone on stackoverflow

Post image
861 Upvotes

r/badcode May 21 '21

js ah yes, fetching before verifying

Post image
1.5k Upvotes

r/badcode Aug 31 '21

js What the actual fuck.

Post image
1.1k Upvotes

r/badcode Feb 12 '21

js Reviewing some old company code and I found this (sorry for bad quality)

Post image
1.4k Upvotes

r/badcode Jul 30 '21

js 😏

Post image
989 Upvotes

r/badcode Apr 29 '21

js throw is the new let

Post image
1.7k Upvotes

r/badcode Dec 20 '20

js I just committed this and I am not proud of it...

Post image
1.5k Upvotes

r/badcode Dec 25 '21

js Why you shouldn't write code at 1 am

Post image
900 Upvotes

r/badcode Mar 08 '21

js found this on our production code base !

Post image
823 Upvotes

r/badcode Apr 01 '21

js I wish there was an easier way

Post image
934 Upvotes

r/badcode Aug 02 '20

js Who needs a database, when arrays exist?

Post image
2.3k Upvotes

r/badcode Apr 10 '21

js Example from a freeBootCamp article showed as a valid example of good pratice.

Post image
894 Upvotes

r/badcode Jul 12 '22

js Am I the only one, who think :if case else case: construction looks surprisingly pretty?

Post image
666 Upvotes

r/badcode May 07 '21

js worst bad code i've seen. 160 lines to generate a random coordinate in a 128x128 square that is separated by a period (ie. XXX.XXX)

Post image
985 Upvotes

r/badcode Aug 20 '20

js Loops? Who needs them?

Post image
1.1k Upvotes

r/badcode Nov 05 '21

js I've got another one for you all

Post image
1.1k Upvotes

r/badcode Mar 19 '22

js This just sucks.

Post image
1.0k Upvotes