|
|
|
|
|
by nico
343 days ago
|
|
> 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 code does You should also refactor the code regularly, and when you do, you get a better picture of where things are and how they interact with each other |
|
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 2000 cases (real story), many of which were 100s of lines long, with C macros used religiously (same codebase). At a bare minimum, once you get over the humps, with human written code, you will always find some realm of reason. A human thought to do this, they had some realm of logic. I couldn't find that with AI, I just found cargo cult programming + shoving things where they make no sense.