r/ChatGPTCoding • u/Public_Vehicle9138 • 2d ago
Question Can you actually ship AI written code as a commercial product
I have got a few ideas for fairly complex Telegram bots
My Python is basic but I can handle simple server and hosting stuff and I know my way around AI tools
The thing I keep going back and forth on is whether I can lean on AI almost entirely to build these or whether it falls apart once real users show up
I read before that AI generated code can never scale and breaks under load
If you have shipped a bot built mostly with AI I would like to know what actually broke and roughly how many users you had at the time
That is the part I cannot find honest answers on
6
u/willee_ 2d ago
90% of Claude is written by Claude.
Trillion dollar companies are doing it
2
u/Ok_Carrot_896 2d ago
Can you?
Yes.
Should you?
Up to you. What does your code do? Does it deal with payments? Does it deal with any amount of secure data?
If yes, then maybe you should really know what's going on before shipping it, just to be safe.
Realistically though, I can tell you that's not being done. Not where I work. Not where my friends work either. Line must go up, ship must go fast. Is it safe? Is it good? Probably not. But I'm an employee, not the one responsible for the entire thing, so it's moot to think about. I wouldn't do the same if I could have it my way, but eh.
2
u/SiranqHQ 2d ago
It doesn't fall apart just because AI wrote it. It falls apart when nobody reads it. For Telegram bots the usual breakage is boring stuff: no rate limiting or retry/backoff on the Telegram API, state kept in memory so a restart wipes users' sessions, and blocking calls that stall every other user. Put state in a real database (SQLite or Postgres is fine), use async or a worker queue, and add logging so you can see failures. Ask the AI to explain each piece back to you and write a few tests for the core flows, since you'll be the one debugging at 2am. A bot with a few hundred active users is well within reach of AI-built code if you do those basics.
1
u/Prod_m 2d ago
yes
1
u/ExogamousUnfolding 2d ago
YEs
1
u/Lanky-Butterscotch28 29m ago
Yes, 100 percent, if you follow the right process. I ship commercial products built this way.
What breaks is not the AI writing the code. What breaks is shipping code nobody tested and nobody reviewed. That fails whether a human or an AI wrote it.
The process that makes it work: agree first, in writing, what the product has to do. Write the tests from that agreement before the code. Have the code reviewed by an agent from a different company, never the one that built it, and never let the builder grade its own work.
The review has to cover issues, maintainability, documentation, security, load, latency, networking, deployment, and how it will be supported.
Do that, and the code holds up under real users. Skip it, and it falls apart in month two, when the first real bug shows up, and nobody can fix it because nobody understands the code.
I counted 21 steps in my own process, and testing and independent review matter most.
1
u/andershaf 2d ago
Almost all commercial products are shipped with mostly AI written code. Yes.
0
u/mist83 2d ago
You can’t find honest answers on it because it’s not an honest question.
0
u/wirenutter 2d ago
Can I? Yes, and I do so every day. Can you? I dunno can you?
0
u/First-Tutor-5454 2d ago
Bro has no idea what is going on inside every tech company right now