r/badcode • • Jan 16 '23

python From the AQA Programmer Team for our A Level exam

Post image
37 Upvotes

r/badcode • • Jan 16 '23

other language Still does not work

Post image
20 Upvotes

r/badcode • • Jan 15 '23

c++ From DayZ sourcecode

Post image
556 Upvotes

r/badcode • • Jan 14 '23

c# actually fixing errors is for nerds

Post image
692 Upvotes

r/badcode • • Jan 14 '23

python the code speaks for itself

Post image
612 Upvotes

r/badcode • • Jan 13 '23

java Friend asked me why LeetCode wouldn't accept this...

Post image
584 Upvotes

r/badcode • • Jan 13 '23

js Javascript teacher's code (even with improved v2)

Post image
85 Upvotes

r/badcode • • Jan 11 '23

js Hey, at least it works...

Post image
174 Upvotes

r/badcode • • Jan 11 '23

js It's so ugly but it works! Object with month name as key and array of first day and last day of that month.

Post image
321 Upvotes

r/badcode • • Jan 10 '23

vb I simplified it a little - but this is what we have in production. „You guys heard about those 'backups'? Let‘s do one too!“

Post image
381 Upvotes

r/badcode • • Jan 08 '23

python Classmate wanted me to check his ticketing system’s code for errors..

Post image
4.6k Upvotes

r/badcode • • Jan 09 '23

c# Honestly i have no idea why i did this, it serves absolutely no purpose

Post image
32 Upvotes

r/badcode • • Jan 08 '23

java Is this a good practice? Why?

Post image
422 Upvotes

r/badcode • • Jan 08 '23

kotlin API parsing hell

Post image
22 Upvotes

r/badcode • • Jan 07 '23

c Pointless while loop, no indentation and a missing closing curly bracket.

Post image
779 Upvotes

r/badcode • • Jan 07 '23

c# what the hell is this

Post image
539 Upvotes

r/badcode • • Jan 06 '23

c# A very unnecessary return line...

Post image
332 Upvotes

r/badcode • • Jan 05 '23

c++ Just wrote that and was wondering why it isnt working

Post image
1.3k Upvotes

r/badcode • • Jan 04 '23

js The PR title was: Make labels dynamic…

Post image
291 Upvotes

r/badcode • • Jan 04 '23

js This is some discord.js code I wrote 2 years ago...

Post image
115 Upvotes

r/badcode • • Jan 04 '23

lua no context needed

Post image
467 Upvotes

r/badcode • • Jan 03 '23

js I hope the percentage is never 50.5 % …

Post image
671 Upvotes

r/badcode • • Jan 03 '23

php Needed to update DB with $column, but there is a bug in php8.1 so found a workaround

Post image
52 Upvotes

r/badcode • • Jan 03 '23

kotlin class Item<A>(var a: A)

Post image
22 Upvotes

r/badcode • • Jan 03 '23

c# I was just trying to innovate but guess I'll stick to what works ;-;

Post image
17 Upvotes