AI generation when writing software is a false economy. You are replacing writing code with code review. Code review is harder and requires you to already have an understanding of the domain which often means that you would’ve even able to write it yourself to begin with. If you code gen something because you don’t know how to write it yourself, you by definition cannot review it without going though an effort equivalent to writing it yourself in the first place.

Unless of course you don’t care about code review and so doom yourself into treating software like magical incantations that break randomly for no perceivable reason; but no good mage would do that, surely.

@mary this is a good take. I was doing code review where a colleague used gen AI to write some code where I didn’t have much domain knowledge. When I asked them to explain why they took the submitted approach they were unable to. So now rather than code review ensuring multiple people understand what’s going on, either nobody does, or most of the work is pushed onto the code reviewer.