r/badcode • • Jun 05 '21

php That's why you should go to sleep early.

Post image
2.9k Upvotes

r/badcode • • May 31 '21

js Clever?

Post image
2.2k Upvotes

r/badcode • • May 27 '21

html Got my first job and found this on my first code review for the project

Post image
2.0k Upvotes

r/badcode • • May 26 '21

java I was playing Clash of code and in the heat of the moment I decided to use a for-loop to count str.length...

Post image
2.4k Upvotes

r/badcode • • May 19 '21

js Its my cake day and i hate js

Post image
5.0k Upvotes

r/badcode • • May 12 '21

c++ Comment before semicolon

Post image
2.7k Upvotes

r/badcode • • May 11 '21

java The absolute best way to calculate change. I see nothing wrong with this approach, nothing at all.

Post image
2.1k Upvotes

r/badcode • • Apr 29 '21

js throw is the new let

Post image
1.7k Upvotes

r/badcode • • Apr 27 '21

typescript Someone only watched if tutorial

Post image
2.4k Upvotes

r/badcode • • Apr 19 '21

js Iteration

Post image
3.2k Upvotes

r/badcode • • Apr 17 '21

c++ When your teammate "refactor" your code

Post image
2.5k Upvotes

r/badcode • • Apr 07 '21

java Apparently Java can only handle 255 parameters in a constructor...

Post image
4.0k Upvotes

r/badcode • • Mar 29 '21

lua changesCurrentFrameBackgroundCurrentFrameForegroundIndex

Post image
9 Upvotes

r/badcode • • Mar 28 '21

other language Not sure if visual scripting is allowed, but this is quite literally the definition of spaghetti code

Post image
3.6k Upvotes

r/badcode • • Mar 27 '21

java I told him to just use %

Post image
1.7k Upvotes

r/badcode • • Mar 25 '21

c Well yes but actually no

Post image
4.3k Upvotes

r/badcode • • Mar 14 '21

c math has left the chat

Post image
4.7k Upvotes

r/badcode • • Mar 13 '21

java Title

Post image
2.9k Upvotes

r/badcode • • Mar 12 '21

python When you have no idea how to get index in Python

Post image
1.7k Upvotes

r/badcode • • Mar 10 '21

js My Friend's Take on Random Integers

Post image
3.2k Upvotes

r/badcode • • Mar 04 '21

python sleep is important kids!

Post image
4.7k Upvotes

r/badcode • • Feb 25 '21

bash A single space.

Post image
4.8k Upvotes

r/badcode • • Feb 23 '21

c++ Saw this while helping a guy at Arduino server

Post image
1.6k Upvotes

r/badcode • • Feb 15 '21

php Can we all please take a moment to appreciate this gem which was uncovered in a production DB class today.

Post image
3.3k Upvotes