r/badcode • u/indriApollo • Jun 01 '21
r/badcode • u/Sythokhann • Dec 10 '20
asp/asp.net return !!valid ? Ok(valid) : Ok(!valid ? !valid : valid) //is obviously cleaner here
914
Upvotes
r/badcode • u/Oct89ine • Jun 26 '21
js My friend made a Rubik's let's just say it can be optimized
913
Upvotes
r/badcode • u/jaysuchak33 • Mar 29 '21
c# This was from months ago when I was just starting out. Still doesn't excuse the fact that it's garbage code
911
Upvotes
r/badcode • u/vladvlad002 • Sep 13 '20
c++ And that's how you get a digit from a character
911
Upvotes
r/badcode • u/Key-Counter7030 • Apr 20 '23
python What was beginner me doing that needed tkinter 4 times
906
Upvotes
r/badcode • u/cyberloop3000 • Aug 14 '20
php Array you say? Never heard of this newfangled nonsense...
906
Upvotes
r/badcode • u/detrimentalfallacy • Oct 29 '20
java Found this on a coding site, this is the official answer to their exercise
905
Upvotes
r/badcode • u/KapToIIIe4Ka • Dec 19 '20
js Found this in my scratches, I don't remember writing it
898
Upvotes
r/badcode • u/[deleted] • Mar 19 '22
c# Checking if sentence contains all the letters from alphabet NSFW
891
Upvotes
r/badcode • u/Constant__Pain • Apr 10 '21
js Example from a freeBootCamp article showed as a valid example of good pratice.
890
Upvotes