r/Python • • Oct 03 '26

Discussion My Python magic is gone

I've been coding for a long time, and I've been developing with Python for years.

I loved coding, always loved it. I started many years ago because I wanted to quickly create scripts for security hacking tools, but since then, I've moved to Claude Code, and building cross-language has been a much better experience for me than using Python.

I built my own SaaS application out there whose backend and network core are completely built with Python, and I'm rewriting all of that without writing a single line of code. And most of the time, Python is not the most optimized language.

And now... I feel like the magic is gone.

I don't even know why I'm writing this. I just feel sad about it.

897 Upvotes

310 comments sorted by

View all comments

13

u/Left_Sundae_4418 Oct 04 '26

I tried vibe coding so many times and will keep trying...and it always ends up being horse shit. The amount of trash code and abstractions and bringing in unnecessary complexity...this is what AI often does. It makes a simple task unnecessary complicated and messy. Completely opposite to the "Pythonian" way, which often is quite elegant and minimal.

I went back to actually writing myself and coming up with my own solutions... The amount of code has been reduced so so much and I can understand what is going on. The maintaining and developing further is so much easier now.

The time I spent honing the prompts and still ending up with a spaghetti....feels awful. AI surely kills our brain. I ain't letting it kill mine.

I'm back to feeling the magic :)

6

u/barrycarey Oct 04 '26

As much as I hate saying this, I think super clean code is a thing of the past. If vibe coded apps are super messy code but still pass all validation and testing does it actually matter? Especially if you look at it from the perspective that no human will have to directly maintain it? Along with the fact that LLMs are improving rapidly and will likely produce a far nicer product in the short term. Just the difference in quality from when I started messing with Claude last fall to today is huge.

I've had a hard time coming to terms with this. I've been primarily writing python for 15 years. I've finally given in and imbraced the speed I can pump out projects

5

u/cudmore Oct 04 '26

I agree. In CS classes circa 1990, something that stuck with me was talk about fully specifying behavior, i guess like a docstring, then the implementation (actual code) does not matter if it satisfies the specified behavior.

For me, that is kinda where we are at. Yes, the ai code looks like crap but if well planned by human specification then the job is done.

2

u/FrontLongjumping4235 Oct 08 '26

But how reviewable is the code? Reviewability still matters.

I do not review all or even half the lines I commit. But, when I encounter a bug or misalignment, I often drill down and take a look myself before turning to an agent, or I try to confirm what the diagnosing agent tells me (because agents confidently hallucinate things all the bloody time). Code quality matters.

It matters for agents too. Spaghetti code will chew through tokens and eat up your agent's limited context window.

6

u/frosty8670 Oct 04 '26

Yes bro, clean code does matter. Projects often contain 1000s of lines of code, and you will often work with other people’s code. Even other people should understand your code after you leave. Heck, even you might not understand your own code months after writing if it isn’t clean enough.

→ More replies (5)

2

u/NoSwimmers45 Oct 04 '26

super messy code…does it actually matter?

Will a vibe coded app ever need to be modified? Very few apps are one and done. That messy code today will lead to major headaches down the road when trying to introduce new functionality or enhance existing functionality. Having clean code that developers can read and understand pays dividends over the life of the project.

→ More replies (5)

1

u/Left_Sundae_4418 Oct 04 '26

Speed just messes up my mind, and in the end I probably waste even more more honing prompts and trying to keep the project duct taped together when I use vibe tools. Just doesn't work for me.

1

u/silverybbq Oct 10 '26

So long as you can still comprehend what is happening enough to be able write a comprehensive test suite for your functions and modules.

My project leader was showing off agentic coding the other day and his list of requirements to the agent ended with "and write a bunch of unit tests to validate these requirements". This makes me anticipate that many code bases are going to wind up cooked when people do this.

→ More replies (9)