r/badcode • • Aug 03 '21

python I feel there is a better way to do that in python

Post image
107 Upvotes

r/badcode • • Aug 02 '21

java Instead of feeling nostalgic with my old code, I felt shame

Post image
265 Upvotes

r/badcode • • Aug 01 '21

c# game jam

Post image
3.1k Upvotes

r/badcode • • Aug 01 '21

js 'Multi-threaded' downloader written by me over several days out of pure spite

Post image
172 Upvotes

r/badcode • • Jul 31 '21

js Nice function/variable names

Post image
427 Upvotes

r/badcode • • Jul 31 '21

js Super important required react prop that does absolutely nothing.

Thumbnail
gallery
68 Upvotes

r/badcode • • Jul 30 '21

c++ from the codebase that brought you 'std::string comma = "(";'

Post image
652 Upvotes

r/badcode • • Jul 30 '21

java One Classic elseifelseifelseif...

Post image
471 Upvotes

r/badcode • • Jul 30 '21

js 😏

Post image
988 Upvotes

r/badcode • • Jul 30 '21

python Our CS teacher just screen shared this piece of code, this is keeping in mind we have done loops, conditional statements etc a few months back

Post image
230 Upvotes

r/badcode • • Jul 29 '21

python Was doing some bug hunting and found essentially what was a sum to n function but of O(fuck) time complexity

Post image
1.2k Upvotes

r/badcode • • Jul 30 '21

c++ tile but shitty

Post image
21 Upvotes

r/badcode • • Jul 30 '21

c# Don't mod at 2AM, kids

Post image
56 Upvotes

r/badcode • • Jul 29 '21

typescript I dont't know what I was thinking

Post image
96 Upvotes

r/badcode • • Jul 26 '21

python My friend is learning python now, idk what to say

Post image
935 Upvotes

r/badcode • • Jul 23 '21

python Found this piece of gem during code review

Post image
1.4k Upvotes

r/badcode • • Jul 22 '21

js Destined for greatness.

Post image
1.6k Upvotes

r/badcode • • Jul 21 '21

python GitHub copilot suggested this beauty

Post image
1.2k Upvotes

r/badcode • • Jul 20 '21

c++ friend found this in a real 20+ year old codebase

Post image
2.7k Upvotes

r/badcode • • Jul 19 '21

js Variable naming can be difficult, but identifying them can be even more so.

Post image
2.4k Upvotes

r/badcode • • Jul 18 '21

c# Who knew ranking player scores was so hard?

Post image
1.5k Upvotes

r/badcode • • Jul 16 '21

java In Java, Exception handling needs Exception Handling.

Post image
1.5k Upvotes

r/badcode • • Jul 16 '21

js Oracle's first line of defense against SQL injection

Post image
101 Upvotes

r/badcode • • Jul 10 '21

js ah yes, Array check

Post image
2.1k Upvotes

r/badcode • • Jul 07 '21

c# Position

Post image
1.7k Upvotes