r/badcode • u/TheNightSkyDude • Apr 12 '23
708
Upvotes
r/badcode • u/ekolis • Dec 15 '21
sql You've heard of magic numbers, now try magic dates that are really numbers in disguise!
707
Upvotes
r/badcode • u/Neykuratick • Apr 30 '23
c++ I guess a coding school ad can be considered production code
704
Upvotes
r/badcode • u/monkeysupersonic • Jul 09 '20
java Good practice: Always call java.lang.Object's constructor
704
Upvotes
r/badcode • u/wizardhecate • Jul 08 '20
python Swaps variables like a charm but only when the seed is 69 :(
697
Upvotes
r/badcode • u/[deleted] • Jan 02 '21
c++ I saw this in a YouTube tutorial. Because sure, `ull` and `long int` are basically the same right?
693
Upvotes
r/badcode • u/jeuxjeux20_for_real • Feb 20 '20
other language I'm deeply sorry for creating the worst language on earth
693
Upvotes
r/badcode • u/ChemiCalChems • Apr 11 '23
c++ "We have doxygen documentation at home" The doxygen documentation at home:
691
Upvotes
r/badcode • u/lecrof46 • Jan 16 '23
typescript My classmate told me his code wasn't very clean... But this one still surprised me
691
Upvotes
r/badcode • u/N-SPC700 • Jul 01 '21
c How to read a file in C, according to NETGEAR's coders.
691
Upvotes
r/badcode • u/s1nical • Aug 21 '20
js moment.js: modern problems require modern solutions.
688
Upvotes
r/badcode • u/Robinimus • May 04 '21
ruby Found this little snippet in the codebase today.
687
Upvotes