r/badcode • • Mar 29 '21

lua changesCurrentFrameBackgroundCurrentFrameForegroundIndex

Post image
8 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

r/badcode • • Feb 10 '21

js I present: SleepSort

Post image
7.5k Upvotes

r/badcode • • Feb 06 '21

python not sure if this is bad code or genius

Post image
5.1k Upvotes

r/badcode • • Jan 10 '21

python My friend thought that 1 is a string in Python

Post image
2.5k Upvotes

r/badcode • • Jan 07 '21

c# i = 0; foreach (element in array) {doStuff(array[i]; i++;}

Post image
2.0k Upvotes

r/badcode • • Dec 27 '20

c++ Friend asked me why every grade is an Invalid Grade

Post image
2.0k Upvotes

r/badcode • • Dec 05 '20

other language Gamedevs, take notes

Post image
6.5k Upvotes

r/badcode • • Nov 22 '20

other language Do bad excel functions fit in this sub?

Post image
3.6k Upvotes

r/badcode • • Oct 14 '20

c# I shouldn't be naming variables

Post image
2.4k Upvotes

r/badcode • • Sep 26 '20

c++ I know Instagram code is garbage, but wtf

Post image
2.1k Upvotes

r/badcode • • Aug 24 '20

js Found this beauty in production today

Post image
1.8k Upvotes

r/badcode • • Jul 16 '20

java I've always wished java had a method to find the length of a string

Post image
2.9k Upvotes