r/badcode • u/OkUnderstanding1278 • Feb 06 '23
r/badcode • u/abermea • Dec 09 '20
c Silly isEven function I wrote a couple of years ago as a meme after noticing npm had modules for this
1.0k
Upvotes
r/badcode • u/user_0111 • Aug 27 '21
python Wrote this code forgetting that if statements exist
992
Upvotes
r/badcode • u/Pavvuloon • Oct 02 '22
python I was searching for password generator. I found this...
990
Upvotes
r/badcode • u/112143112154 • May 07 '21
js worst bad code i've seen. 160 lines to generate a random coordinate in a 128x128 square that is separated by a period (ie. XXX.XXX)
986
Upvotes
r/badcode • u/pedrohfm3 • Feb 06 '21
c I am not proud of what I have done. It goes like that until line 2300
981
Upvotes
r/badcode • u/the_josefo • Sep 29 '21
c# Behold, the ultimate (and literal) toggling switch. I guess booleans are overrated.
980
Upvotes
r/badcode • u/emilsteen • Jul 17 '20
js Found this "answer" on Stackoverflow. Pretty sure it's not working.
978
Upvotes
r/badcode • u/[deleted] • Apr 14 '22
typescript I wish people were taught basic logic before programming
977
Upvotes
r/badcode • u/not_arch_linux_user • Jan 29 '21
java Young me did not understand static variables. Or classes. Or really much else
975
Upvotes
r/badcode • u/[deleted] • Feb 03 '21
js The future of Mexico depends on a Jquery of 1500 lines.
973
Upvotes
r/badcode • u/lil_miki • Oct 11 '20
c# (OC) This is for a tic tac toe game i made, smol brain go brr
962
Upvotes
r/badcode • u/vladvlad002 • Mar 07 '21
c++ So this is the source code of the official solution of a problem from the National Olympiad
959
Upvotes
r/badcode • u/Sasha_DD • Aug 10 '20
c Found on a tutorial website, please do not comment your code on the same line
958
Upvotes
r/badcode • u/[deleted] • May 28 '21
lua From a free model on Roblox... continues for 200 lines
956
Upvotes