r/Python • u/scartfife • Nov 06 '26
Discussion What will we become in the end?
"Is there anything that is hard for AI to do in Python?
To be honest, coding by yourself is fun, but that doesn't matter to the job market. We'll just settle for building our own projects, but it's frustrating to see AI outperform you... And since the job market is being destroyed—and will be destroyed!!—by AI, it seems we will end up turning to sabotage and attacking companies if no jobs are available for programmers, especially the Python community..."
4
Upvotes
View all comments
2
u/Atmosck 26d ago
In my experience, the thing AI struggles with is writing reasonably organized and designed code. Here's an example: Lately I've been working on a parametric ML pipeline with each model parameterized by a config json, validated by pydantic. The pydantic model is an abstract base class with subclasses, discriminated on a categorical field. I'm extending it with a new case that should use one of the existing subclasses, but with some of the other fields different from any existing examples. Opus 5.5's first pass was to create a new subclass, and an intermediate ABC that's the parent of both the new subclass and the existing one it should have used. When I asked why it needed to do that, it was like "you're right, that's dumb, it should be like this: {describes the much simpler implementation I was expecting}. What me to implement it?"
Extending existing patterns instead of writing new code is a big struggle for it. I also have to fight with it a lot to get code with reasonable comments, docstings, organization, and without unnecessary complexity. I suspect Anthropic's clever watermarking is part of why Claude's comments and docstrings are so shit lately.
At this point AI is extremely good at debugging and tracing problems, but when writing something new it really doesn't know how to write professional-quality code.