Replying to @⁨Moztako@lemmus.org⁩

It’s especially essential to mark the code as AI generated. AI makes mistakes just as humans do. Problem is AI makes different kinds of mistakes than humans.

A human will tend to forget to do something they were supposed to do. An AI will do a bunch of unnecessary shit.

Also you can tell that a human didn’t put a lot of thought into some code (no comments, sloppy variable names) so you’re more likely to say “yeah ok, I used to make that kind of mistake when I was younger” and just fix it. AI generated code will have all kinds of comments which normally makes you more hesitant before making a change. It looks like someone really thought through what they were doing, but in reality it’s something generated by an LLM and no real thought was given to the code.

Replying to @⁨boonhet@sopuli.xyz⁩

Would that be cases be where you’re doing something that might appear a little odd, but there is a reason for it to be that way? So if you see something that looks a little odd and there’s a comment explaining it, wouldn’t you be more likely assume that there’s a reason for that code to be that way and it’s probably intentional and not a bug?

And “self documenting code” is just something we say because we don’t want to be bothered with writing comments, if we’re being honest.