r/Python • • Jan 28 '26 • This 2 Bravo 1

Meta (Rant) AI is killing programming and the Python community

I'm sorry but it has to come out.

We are experiencing an endless sleep paralysis and it is getting worse and worse.

Before, when we wanted to code in Python, it was simple: either we read the documentation and available resources, or we asked the community for help, roughly that was it.

The advantage was that stupidly copying/pasting code often led to errors, so you had to take the time to understand, review, modify and test your program.

Since the arrival of ChatGPT-type AI, programming has taken a completely different turn.

We see new coders appear with a few months of experience in programming with Python who give us projects of 2000 lines of code with an absent version manager (no rigor in the development and maintenance of the code), comments always boats that smell the AI from miles around, a .md boat also where we always find this logic specific to the AI and especially a program that is not understood by its own developer.

I have been coding in Python for 8 years, I am 100% self-taught and yet I am stunned by the deplorable quality of some AI-doped projects.

In fact, we are witnessing a massive arrival of new projects that are basically super cool and that are in the end absolutely null because we realize that the developer does not even master the subject he deals with in his program, he understands that 30% of his code, the code is not optimized at all and there are more "import" lines than algorithms thought and thought out for this project.

I see it and I see it personally in the science given in Python where the devs will design a project that by default is interesting, but by analyzing the repository we discover that the project is strongly inspired by another project which, by the way, was itself inspired by another project. I mean, being inspired is ok, but here we are more in cloning than in the creation of a project with real added value.

So in 2026 we find ourselves with posts from people with a super innovative and technical project that even a senior dev would have trouble developing alone and looking more closely it sounds hollow, the performance is chaotic, security on some projects has become optional. the program has a null optimization that uses multithreads without knowing what it is or why. At this point, reverse engineering will no longer even need specialized software as the errors will be aberrant. I'm not even talking about the optimization of SQL queries that makes you dizzy.

Finally, you will have understood, I am disgusted by this minority (I hope) of dev who are boosted with AI.

AI is good, but you have to know how to use it intelligently and with hindsight and a critical mind, but some take it for a senior Python dev.

Subreddits like this are essential, and I hope that devs will continue to take the time to inquire by exploring community posts instead of systematically choosing ease and giving blind trust to an AI chat.

1.8k Upvotes

478 comments sorted by

View all comments

943

u/metadatame Jan 28 '26

It'll keep us all in job - someone has to fix what people are messing up

415

u/Slimmanoman Jan 28 '26

Man I don't look forward to digging through thousands of chatgpt-coded lines with a hallucinating documentation. Human code can be bad but at least it's human, you can do human thinking to figure out errors

205

u/james_pic Jan 28 '26

As dumb as LLMs can be, they can't match the dumbest human programmers. They simply don't have the imagination to find such creative ways to fuck up 

33

u/l33t-Mt Jan 29 '26

Acting like LLM's dont have examples of terrible code in their dataset.

79

u/Slimmanoman Jan 28 '26

Honestly for me, there's some satisfaction/admiration in finding a really creative fuck up, especially when it's a colleague. When it's an LLM fucking up I'm just pissed

14

u/Popgoestheweeeasle Jan 29 '26

The human and LLM can both be told not to do this again-but the human will feel the shame of writing bad code and improve

→ More replies (1)

7

u/MrBallBustaa Jan 29 '26

Damn right.

95

u/riverprawn Jan 29 '26

No, they can. What a LLM generating depends on the prompt. And the LLMs have the ability and patience to implement everything the dubmest coder can image. Working together, they can take the creativity in screwing things up to a level no one has ever seen.

Last year, we found a bug where the LiDARs from certain brands lost one frame randomly. After troubleshooting, we found the issue in a simple method to match each LiDAR frame with RGB image via timestamps. The code review left us utterly astonished. This function was clearly AI-generated, as it was filled with good comments and has comprehensive documentation. First, it rounded all timestamps to milliseconds, then checked for exactly matching with the ts, ts±0.001s, ts±0.002s, all the way up to ts±0.02s, and even an additional ts±0.05s. Return the first match... Remarkably, this method passed all our test cases and worked with most LiDAR data, only causing issues with certain frames when paired with 25fps cameras. BTW the author of this method had left our company voluntarily after being found incompetent, prior to this code review.

4

u/[deleted] Jan 29 '26

[removed] — view removed comment

6

u/riverprawn Jan 31 '26

25 fps means the intervals between two frames are 40ms, should be covered by the 0 to ±0.02s matching. But in reality the intervals are not exactly 40ms. Some are bigger and some are smaller. The rounding will amplify the deviation under certain circumstances, make the matching failed.

For example, the camera recorded two frames at 0.0394999s and 0.0805000s. You want to find which frame matches the lidar data at 0.060s. The two frames' timestamp are 0.039s and 0.081s after rounding, and are all outside the range of 0.06±0.02s. Therefore there is no matching.

20

u/nightcracker Jan 29 '26

It's not so much the badness of the code that's the biggest problem, it's quantity. I'd rather rework one 100LOC garbage monstrosity by a human than 10000 lines of seemingly plausible code with tons of subtle bugs.

20

u/woodrobin Jan 29 '26

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rick Cook, "The Wizardry Compiled", 1989.

History doesn't always repeat, but it often rhymes -- we've now devised programs that can be trained to simulate the programming skills of bigger and better idiots.

3

u/mxracer888 Jan 29 '26

One of my favorite lines to drop on people right here

→ More replies (6)

8

u/KTheRedditor Jan 29 '26

I respectfully disagree. When fixing human code, I always thought it was there for a reason. The code looks bad, but someone consciously made it. There might be something I'm not aware of yet. However, I don't hesitate changing AI code. It's literally statically generated approximation of the needed code. It's normal to be wrong but close.

6

u/samamorgan Jan 29 '26

I once refactored a 3000 line single function that a human wrote down to a few functions and ~100 lines. I've yet to see AI generated code achieve that level of absurdity.

→ More replies (2)

7

u/TacoBOTT Jan 28 '26

I’ve already started doing this and it’s honestly not bad. Yes some of the documentation is ass but it’s better than no documentation and gives enough leads to where to look. Still better than what we had but I’m sure this varies place to place

→ More replies (14)

52

u/Brachamul Jan 28 '26

Should set up a bet on polymarket for when the first university is going to include a new "LLM code cleanup" course. Mandatory of course.

11

u/The_KOK_2511 Jan 28 '26

Or maybe they'll create a new university degree called "Artificially Intelligent Disaster Debugger" XD

→ More replies (2)

17

u/rebelSun25 Jan 28 '26

I've first hand in tasting what this bull shit sandwich tastes like. One of our devs created a docker wrapper cli menu in Windows batch script. A spaghetti bundle of scripts with hard coded, non standard since we don't have any other tool like it, and then he left.

He's a mediocre dev who doesn't have experience in Windows development, but he's fallen for chatSTD vibe coding.

It's the top wtf / line of code I've seen in 15 years. I may have to use Opus 4.5 to deconstruct it and document it, then write it in something more standard.

→ More replies (2)

15

u/FutureGrassToucher Jan 28 '26

Thats a freelance idea right there, let me refactor the garbage your vibe coders generated, a programming janitor basically

10

u/JambaJuiceIsAverage Jan 29 '26

I got started as an engineer cleaning up trash pandas code that "data scientists" leave scattered behind them. Cleaning up Amazon Q garbage feels exactly the same.

→ More replies (1)

20

u/Fragrant_Ad3054 Jan 28 '26

I wouldn't even tell you, in a few years customers and devs will have lost the notion of what quality, optimization and the search for a program is. Only experienced devs will be able to point the finger at nonsense in the design of projects.

4

u/me_myself_ai Jan 28 '26

“The search for a program”?

→ More replies (4)

5

u/milanistasbarazzino0 Jan 29 '26

My favorite was a vibe coder's website without row level security on the database

→ More replies (33)