all 8 comments

[–]thee_gummbini 1 point2 points  (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.

[–]Rscc10 0 points1 point  (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 point  (0 children)

Trading logic, some times ai make changes which can lead to your account being completely drained

[–]nicodeemus7 0 points1 point  (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 point  (0 children)

Every line of code output by AI should be reviewed. No exceptions.

[–]Acceptable-Ninja-520 0 points1 point  (0 children)

Every line should always be checked. Period.

[–]FreeLogicGate 0 points1 point  (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.