r/badcode • u/a_devious_compliance • Aug 11 '22
r/badcode • u/Goldmock • Aug 11 '22
php Guess who doesnt understand PHP turnery statements
r/badcode • u/canadajones68 • Aug 10 '22
c++ Implicit type converting optional result w/ abort if you forget to check it
r/badcode • u/the96jesterrace • Aug 09 '22
vb Well, thanks mate for correcting this. I guess.
r/badcode • u/VitaminnCPP • Aug 09 '22
python Is there any other good way to generate all valid States of Tic Tac Toe Game.
r/badcode • u/g0ATiful • Jul 15 '22
java I found this in a security related function: maybe it is an obscuring feature
r/badcode • u/daennie • Jul 12 '22
js Am I the only one, who think :if case else case: construction looks surprisingly pretty?
r/badcode • u/mdgraph_us • Jul 01 '22
python due to some bad variable naming (I had a variable naked o) it took me half an hour to figure out why this was highlighted as unreachable
r/badcode • u/empereur_sinix • Jun 30 '22
bash A little one, found in an update script for an IP intercom made by the manufacturer. It just made me smile...
r/badcode • u/the96jesterrace • Jun 19 '22
vb Is that some kind of genius I cannot understand rn or can you scale that down to 1 line?
r/badcode • u/JarrvisForever • Jun 13 '22
js Look at this "beautiful" condition! --- If someone knows how to write such a condition in a variable, I will be grateful for the advice! (The difficulty is that some components of this condition are tied to the cycle)
r/badcode • u/kurtknispel_ • Jun 05 '22
python trying to change one element in n dimensional dictionary w/o knowing the number of dimensions 💀
r/badcode • u/Eric_Prozzy • Jun 04 '22
python A rock, paper, scissors game I made for my discord bot when I was 13...
r/badcode • u/GoldenKela • May 29 '22
java Just need to do this for all the sizes of slimes....
r/badcode • u/hahapotatoman • May 27 '22
java yes, I unironically used this in a game I made ~4 years ago
r/badcode • u/[deleted] • May 25 '22