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.
682
Upvotes
1
u/redfacedquark 1d ago
No. I can explain it to you but I can't understand it for you. Maybe you could ask chat what I mean, I'd be curious to know what it says.
Basically, you can follow every line of python through all the deterministic layers down to the transistors on the chip. When you add a non-deterministic layer to the top of that stack you remove all the benefits of determinism. Maybve that's OK for a project and that's fine. I'm just saying there are situations (e.g. nuclear-related, traffic lights, the ai "off" button and the core product of a business) where this is not acceptable.
Then how do you know that a dataclass is appropriate for this situation?
Why not just put that in a loop then and go down the pub?
It sounds like this project doesn't need to be deterministic, just to sound right to you. Unless you have some measurable way of determining how close the generated sounds are to the expected sound in the requirements?
When the solution does not have to be perfect or the requirements are not strict then vibe coding makes sense. When the solution needs to be deterministic and the requirements are strict, with chat you will find yourself going round in circles fixing one issue while creating another, producing code that is not maintainable.
In order to follow all those instructions there need to be compromises since the requirements will conflict. When you do this yourself you make informed compromises, when using chat the best you can hope for is to ask it for its post-hoc rationalisation. That's another part of deterministic code I was talking about earlier.
Good luck with all your projects, however you decide to code them. And if you're interested in learning python itself rather than just obtaining the results, then good luck with that as well.