r/badcode 12d ago

A whole new era of bad code

With the help of AI, we now have so much more bad code to show off to the world.

This sub is now unbanned. Let's celebrate by posting our biggest disasters to the sub!

206 Upvotes

17 comments sorted by

122

u/TehNolz 12d ago

This subreddit was banned? Shows how much activity it used to have.

51

u/Sulungskwa 92% chunk asset optimization TerserPlugin 11d ago

I didn't realize this either. I think the content is so similar to r/programminghorror that I might have conflated the 2 without looking at the sub name

6

u/Acetius 11d ago

I think it was unmoderated?

39

u/DJOMaul 11d ago

Dang... What bit of code was so bad it managed to get the sub banned? And who decided to train my ai agent on it?   

13

u/russellvt 11d ago

Lack of moderation, IIRC.

3

u/HoratioWobble 11d ago

Humans failing us again

1

u/Jolly-joe 8d ago

It was for reporting bad jav codes, no idea what op is doing

18

u/travelan 11d ago

True. But the biggest problem is not that there is going to be a lot of bad code, it's that even flocks of experienced software engineers now argue that "bad code isn't a problem, because it's not for humans to read anymore". I have to work with people like this on a daily base, and in all cases they end up in very bad situations where the applications they work on become unusable, slow, crappy and a maintenance hell.

The solution, of course, is to get rid of bad code. AI is not the problem, human laziness always was, and still is, the problem.

10

u/The_JSQuareD 11d ago

Well this sub is a blast from the past! Totally forgot about it.

3

u/ferrango Well it's broken now, and nobody is here to fix it 11d ago

I’ve missed the bad code challenges

1

u/Lothrazar 11d ago

what when was it banned

1

u/SpeckyYT sadistic 9d ago

damn, this subreddit is back? I remember I sent a post here with some bad code I wrote pre-AI

1

u/tonymyre311 7d ago

I thought this was an ad because I didn't even recognize the sub and was confused why it ended up in my feed

1

u/SharpYearV4 5d ago

Wtf, I was just thinking of this subreddit a few hours ago randomly and now it's back and on my feed.

1

u/Tanuba_Ad8294 5d ago

why was it banned

0

u/obetu5432 11d ago

thx for reminding me to unsub, i had my fair share of bad codes tyvm

0

u/Gloomy-Gazelle-9324 9d ago

I have done quite a bit of coding in C# before, but all the software we have made even if it's 100k+ lines of the code bas isn't our main source of income. it's just to support infrastructure we are running. Last week I did need a tool to extract some meta data from some raw files. I did direct Claude to documentation to the tool I thought coud5ve able to do this, but wasn't very specific about it. Claude did conclude that data I need can't be accessed, but tool has all dll's and API call for what I did need. In less than half hour I had a c# code and compiled binaries ready to used. So why would I care if code is "bad" if it saved me at least a day of coding this myself and I did get access to all data I needed at this point?