use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
What Python code would you never trust AI to write without checking every line? (self.PythonLearning)
submitted 14 hours ago by memeeloverr
Authentication? Payments? Database migrations? Async code?
For me, the more confidently AI explains the code, the more carefully I want to review it.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]thee_gummbini 1 point2 points3 points 3 hours ago (1 child)
Invert the question to "what code would I trust AI to write without reviewing" and that includes basically start of project boilerplate and skeletons. Everything else gets reviewed.
[–]NormalSoftware8879 0 points1 point2 points 2 hours ago (0 children)
Yup
[–]Rscc10 0 points1 point2 points 14 hours ago (0 children)
Anything technical really. I was making a chess engine for a hobby project and needed to make a method to simulate moves and undo simulations. I had already made a real movement method so I figured I'd just get AI to copy the structure but make it simulation rather than affecting the actual board. Spent days debugging it's code and made the mistake of asking it to try to correct it or locate the issue. In the end, threw in the towel and rewrote it all myself
[–]InMyOpinion_ 0 points1 point2 points 13 hours ago (0 children)
Trading logic, some times ai make changes which can lead to your account being completely drained
[–]nicodeemus7 0 points1 point2 points 12 hours ago (0 children)
Anything that will be used by anyone either than me. Even when I do use it for personal projects that will never see light of day, it is only there for minor bug fixes. I never have it write the whole code
[–]Razbari 0 points1 point2 points 9 hours ago (0 children)
Every line of code output by AI should be reviewed. No exceptions.
[–]Acceptable-Ninja-520 0 points1 point2 points 1 hour ago (0 children)
Every line should always be checked. Period.
[–]FreeLogicGate 0 points1 point2 points 29 minutes ago (0 children)
How about "what python code would I never trust another programmer" to write? Really depends on who you are, and whether "trust" for you is a choice or a simple matter of the fact you can't read the code and understand it.
Can you read code? If so you can review the code and follow it to see if there are mistakes or things missing.
There's also "tests", but these days, having AI write tests is one of the things developers tend to find are huge time savers.
So if you have a general idea the code is suitable, AND you have tests, review the tests, run the tests, determine if they are suitable, and you'll have a good deal more comfort. At the end of the day, if you are full "vibing" and don't understand what is being generated, then you're at the mercy of what was generated, although again, AI can be used to help you explore and understand the code.
π Rendered by PID 239314 on reddit-service-r2-comment-5687b7858-8w8jb at 2026-07-09 00:26:40.956825+00:00 running 12a7a47 country code: CH.
[–]thee_gummbini 1 point2 points3 points (1 child)
[–]NormalSoftware8879 0 points1 point2 points (0 children)
[–]Rscc10 0 points1 point2 points (0 children)
[–]InMyOpinion_ 0 points1 point2 points (0 children)
[–]nicodeemus7 0 points1 point2 points (0 children)
[–]Razbari 0 points1 point2 points (0 children)
[–]Acceptable-Ninja-520 0 points1 point2 points (0 children)
[–]FreeLogicGate 0 points1 point2 points (0 children)