r/badcode • • Feb 21 '22

java No needs to check, Java will do it for me

Post image
786 Upvotes

r/badcode • • Jan 13 '21

css yes, that's actually me right now

Post image
783 Upvotes

r/badcode • • Jan 12 '20

python My daughter discovered this from when she was learning programming at 9 years old; died laughing and insisted I post it here.

Post image
782 Upvotes

r/badcode • • Nov 30 '21

asp/asp.net User gave you bad input? return 200 OK and give him an empty list to teach them not to be silly again.

Post image
779 Upvotes

r/badcode • • Apr 28 '21

python When your friend goes back to school and they have no idea what they are doing

Post image
779 Upvotes

r/badcode • • Nov 06 '20

c# I wrote that . . .

Post image
779 Upvotes

r/badcode • • Feb 08 '21

java Browsing through my company's codebase; talk about over-engineering

Post image
778 Upvotes

r/badcode • • Nov 26 '19

c# String Strang String Strang

Post image
776 Upvotes

r/badcode • • Jan 07 '23

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

Post image
775 Upvotes

r/badcode • • Apr 15 '22

c C allows any expression to be used as a parameter's array size hint. Any expression...

Post image
775 Upvotes

r/badcode • • Nov 02 '21

php 20 if/else with the same pattern. I kind of love this old intranet.

Post image
775 Upvotes

r/badcode • • Mar 24 '21

c# I was digging through an old group chat back when I was in university, and found this absolute shitpost of a code

Post image
775 Upvotes

r/badcode • • Aug 21 '20

python Fucking legend (codewars)

Post image
774 Upvotes

r/badcode • • Oct 08 '22

python found this on my pc from the person using it around a year ago (definitly not me), what do you think?

Post image
773 Upvotes

r/badcode • • Jul 14 '21

js Found this beaut in the documentation for a reasonably popular JavaScript data grid

Post image
771 Upvotes

r/badcode • • Dec 29 '21

js My favourite type of bug fixes

Post image
769 Upvotes

r/badcode • • Mar 12 '23

python Saving bytes > Readability

Post image
766 Upvotes

r/badcode • • Nov 26 '21

c Trying to concatenate two strings in C

Post image
765 Upvotes

r/badcode • • Jun 09 '21

other language My first attempt at creating an emoji on Haskell 250 lines for this hahah

Thumbnail
gallery
765 Upvotes

r/badcode • • Aug 11 '21

python 10/10 variable naming

Post image
763 Upvotes

r/badcode • • Jan 15 '21

python For people that miss print without parenthesis

Post image
763 Upvotes

r/badcode • • Dec 22 '20

python This is painful to observe for several reasons

Post image
761 Upvotes

r/badcode • • May 26 '20

python My coworker is learning Python... So he made himself a nest.

Post image
761 Upvotes

r/badcode • • Nov 05 '19

other language I hate that this works. (git tracking)

Post image
761 Upvotes