Earlier quoted context omitted.
> I became unable to understand what I was doing, and as I read through the code very little of it made any sense to me, sure the individual lines were readable, functions made some semblance of sense, but there was no logic Yes, this happens, and it’s similar to when you first start working on a codebase you didn’t write However, if instead of giving up, you keep going, eventually you do start understanding what the…
No. It is different, when working with a codebase written by humans there is always sanity. Even when looking at terrible codebases, there is some realm of reason, that once you understand can make navigating the code easy. I believe you missed the part of my comment saying that I have been coding professionally for 20 years. I have seen horrible codebases, and I'm telling you I'd rather see the switch statement with…
If you stay on top of the code you are getting from the AI, you end up molding it and understanding it
The AI can only spit out so much nonsense until the code just doesn’t work. This varies by codebase complexity
Usually when starting from scratch, you can get pretty far with barely even looking at the code, but with bigger repos you’ll have to actively be involved in the process and applying your own logic to what the AI is doing
If the code of what you are building doesn’t make sense, it’s essentially because you let it get there. And at the end of the day, it’s your responsibility as the developer to make it make sense. You are ultimately accountable for the delivery of that code. AI is not magic, it’s just a tool