r/badcode Jul 27 '26

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!

215 Upvotes

17 comments sorted by

125

u/TehNolz Jul 27 '26

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

49

u/Sulungskwa 92% chunk asset optimization TerserPlugin Jul 27 '26

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

5

u/Acetius Jul 28 '26

I think it was unmoderated?

38

u/DJOMaul Jul 27 '26

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?   

11

u/russellvt Jul 27 '26

Lack of moderation, IIRC.

3

u/HoratioWobble Jul 28 '26

Humans failing us again

1

u/Jolly-joe Jul 31 '26

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

17

u/travelan Jul 28 '26

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 Jul 27 '26

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 Jul 27 '26

I’ve missed the bad code challenges

1

u/Lothrazar Jul 28 '26

what when was it banned

1

u/SpeckyYT sadistic Jul 30 '26

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

1

u/tonymyre311 Aug 01 '26

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 Aug 02 '26

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 29d ago

why was it banned

0

u/obetu5432 Jul 28 '26

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

0

u/Gloomy-Gazelle-9324 Jul 29 '26

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?