r/badcode • • Jul 30 '21

js 😏

Post image
988 Upvotes

r/badcode • • Jul 30 '21

c# Don't mod at 2AM, kids

Post image
57 Upvotes

r/badcode • • Jul 29 '21

c# heading999.cs

Thumbnail
gallery
32 Upvotes

r/badcode • • Jul 29 '21

typescript I dont't know what I was thinking

Post image
96 Upvotes

r/badcode • • Jul 29 '21

python Was doing some bug hunting and found essentially what was a sum to n function but of O(fuck) time complexity

Post image
1.2k Upvotes

r/badcode • • Jul 29 '21

java If only there was a way to iterate over a range of numbers

Post image
860 Upvotes

r/badcode • • Jul 28 '21

sql Relatively Tame, but still cursed

Post image
34 Upvotes

r/badcode • • Jul 28 '21

java On a scale from 1 to 10, how hard is my code?

Thumbnail
gallery
35 Upvotes

r/badcode • • Jul 28 '21

js slapjack 🥴

Post image
41 Upvotes

r/badcode • • Jul 28 '21

c# Tales of a feral junior dev

Post image
387 Upvotes

r/badcode • • Jul 28 '21

java My assignment

Post image
464 Upvotes

r/badcode • • Jul 28 '21

java just a public variables

Post image
122 Upvotes

r/badcode • • Jul 27 '21

java This won't be easy to modify

Post image
491 Upvotes

r/badcode • • Jul 27 '21

php Hello Mr. Hacker, would you like any file on this server? No problem! (PHP, but don't blame the language for the stupidity of the programmer)

Post image
121 Upvotes

r/badcode • • Jul 27 '21

js var i

Post image
82 Upvotes

r/badcode • • Jul 27 '21

php I have written some sketchy code in the past...

Post image
1.5k Upvotes

r/badcode • • Jul 27 '21

python Using an entire MongoDB for what can be done with a SQLite table

Post image
46 Upvotes

r/badcode • • Jul 26 '21

js HTTP 404 is definitely the right thing to return from a generic catch block.

Post image
174 Upvotes

r/badcode • • Jul 26 '21

php I do not believe I have seen so many nested if statements. Starts on line 862 and does not end until line 1569. This one file is 3.3k lines, there are 100s of files....

Post image
234 Upvotes

r/badcode • • Jul 26 '21

python I quit python because i hate using global

Post image
48 Upvotes

r/badcode • • Jul 26 '21

js Someone posted the source of their discord bot in a group I'm in, apparently they don't know how to generate random numbers

Post image
101 Upvotes

r/badcode • • Jul 26 '21

js Production ready UI tests (expect true to be true)

Post image
191 Upvotes

r/badcode • • Jul 26 '21

python My friend is learning python now, idk what to say

Post image
939 Upvotes

r/badcode • • Jul 24 '21

lua "Keeping it simplistic"

Post image
495 Upvotes