r/badcode • • Jan 10 '21

c# Throwback to my college graded unit

Thumbnail
gallery
730 Upvotes

r/badcode • • Jun 05 '22

c# Found this monster on codewars

Post image
729 Upvotes

r/badcode • • Apr 25 '21

c# true&&&true

Post image
727 Upvotes

r/badcode • • Mar 26 '21

js Whose ever heard of %?

Post image
727 Upvotes

r/badcode • • Mar 31 '21

python It should have been a code, not an article

Post image
726 Upvotes

r/badcode • • Feb 02 '22

c# At the start of 2022 we were suddenly getting exceptions in this method. I wonder why...

Post image
725 Upvotes

r/badcode • • Nov 16 '20

c++ Found this in an old C/C++ project of mine. It's technically C++, but I guess I *really* wanted a C string.

Post image
725 Upvotes

r/badcode • • Aug 12 '21

c# 🤓📗 Is this "clean code"? 🦋

Post image
724 Upvotes

r/badcode • • Mar 13 '22

css Found this in our codebase. I'm the Jr dev, but I seem to be the only one who knows CSS.

Post image
722 Upvotes

r/badcode • • Mar 03 '22

lua Why care for memory usage when you can use strings instead of booleans

Post image
722 Upvotes

r/badcode • • May 15 '18

java == is just too mainstream

Post image
720 Upvotes

r/badcode • • Jan 03 '21

js setTimeoutception

Post image
719 Upvotes

r/badcode • • Aug 08 '21

c# An excellent demonstration on how to use if-statements

Post image
718 Upvotes

r/badcode • • Dec 29 '22

rust My friend just started learning Programming and showed me THIS xD (It compiles) NSFW

Post image
717 Upvotes

r/badcode • • Mar 07 '22

java Checks for three in a row in a tic-tac-toe assignment

Post image
717 Upvotes

r/badcode • • Nov 16 '21

typescript Just one of the many reasons I struggle to get out of bed each day.

Post image
717 Upvotes

r/badcode • • Apr 20 '21

kotlin null is not null, Found this gem in a production android app written in Kotlin.

Post image
717 Upvotes

r/badcode • • Apr 10 '21

python I had a programming exam and had 5 minutes left on the timer to make the last exercise. I had to parse a DNA sequence in a text file and find the minimum distance in DNA sequences between animal species.

Post image
717 Upvotes

r/badcode • • Sep 13 '21

php Don't ask me what I did there

Post image
716 Upvotes

r/badcode • • Oct 19 '19

js Getting the ASCII code of a character doesn't get easier than this.

Post image
716 Upvotes

r/badcode • • Nov 08 '21

python It works, so what's the problem?

Post image
715 Upvotes

r/badcode • • Sep 12 '20

python Thanks, i hate you.

Post image
712 Upvotes

r/badcode • • Oct 30 '20

other language I wonder what will make people angrier; the eight nested IF statements or the implication that I consider Excel to qualify as a programming language.

Post image
711 Upvotes

r/badcode • • Jul 01 '20

c++ Found this in someone's project

Post image
710 Upvotes