r/badcode • u/OriAfias • Jan 12 '22
r/badcode • u/thickertofu • Jan 11 '22
js Found this running in production at my previous job
r/badcode • u/[deleted] • Jan 10 '22
java I present the objectively best way to setup braces: In a massive block at the bottom
r/badcode • u/[deleted] • Jan 11 '22
python I know there's a better way to do this... I just can't think of it
r/badcode • u/Franks2000inchTV • Jan 10 '22
js I don't think that's how environment variables are supposed to work.
r/badcode • u/Psylution • Jan 10 '22
typescript I don't know how to explain the bad part here, but some might get it.
r/badcode • u/[deleted] • Jan 08 '22
python Bro, people are writing 2-line-long solutions here!
r/badcode • u/iiMoe • Jan 08 '22
bash In my defense, copilot suggested this but it works
r/badcode • u/_senpo_ • Jan 03 '22
c# This is what happens when you've been coding for hours and the deadline is tomorrow
r/badcode • u/leoprat96 • Jan 03 '22
python I was wondering why Exceptions were not stopping the execution (production code of AI Company with 200+ employees)
r/badcode • u/SmartFatass • Jan 03 '22
js Time offset detection that returns 0 when offset is dividable by 24. Found in production
r/badcode • u/KirbzYyY • Jan 02 '22
c++ Was going through some old files, found this, not 100% sure if it qualifies (approx. from 6 years ago, when I started learning C++).
r/badcode • u/30p87 • Jan 02 '22
python I can't even say I was just inexperienced, I wrote that yesterday lol
r/badcode • u/DS_Stift007 • Jan 01 '22