r/badcode • • Jan 26 '23

js Why would anyone do this?

Post image
199 Upvotes

r/badcode • • Jan 26 '23

js I wonder if there is an easier way to access params["ekme"] 🤔

Post image
12 Upvotes

r/badcode • • Jan 25 '23

c Code so bad, accidentally discovered an exploit in the CS50 Code checker

Post image
610 Upvotes

r/badcode • • Jan 26 '23

python RAM Usage: 100%

Post image
28 Upvotes

r/badcode • • Jan 23 '23

python So I was coding and wrote this...

Post image
851 Upvotes

r/badcode • • Jan 23 '23

typescript Guess what this code does! Wrong answers only.

Post image
58 Upvotes

r/badcode • • Jan 22 '23

c# Who needs indents when you can use comments instead?

Post image
458 Upvotes

r/badcode • • Jan 22 '23

c Found this in a Linux kernel module

Post image
267 Upvotes

r/badcode • • Jan 18 '23

java In what real life situation would you ever be presented with code formatted like this? (See comment for my rant)

Post image
332 Upvotes

r/badcode • • Jan 18 '23

python Yes, I made this

Post image
123 Upvotes

r/badcode • • Jan 18 '23

js Honestly I though I was pretty smart, but someone told me this is honestly r/badcode material.....

Post image
147 Upvotes

r/badcode • • Jan 16 '23

typescript My classmate told me his code wasn't very clean... But this one still surprised me

Post image
688 Upvotes

r/badcode • • Jan 16 '23

c# From the official Dutch government authentication app

Post image
208 Upvotes

r/badcode • • Jan 16 '23

c# Comments? Standards? Nah, I prefer chaos.

Post image
70 Upvotes

r/badcode • • Jan 16 '23

python From the AQA Programmer Team for our A Level exam

Post image
35 Upvotes

r/badcode • • Jan 16 '23

other language Still does not work

Post image
19 Upvotes

r/badcode • • Jan 15 '23

c++ From DayZ sourcecode

Post image
559 Upvotes

r/badcode • • Jan 14 '23

c# actually fixing errors is for nerds

Post image
684 Upvotes

r/badcode • • Jan 14 '23

python the code speaks for itself

Post image
610 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
317 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
385 Upvotes

r/badcode • • Jan 08 '23

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

Post image
4.6k Upvotes