|
|
|
|
|
by abalex
19 days ago
|
|
I always reading all AI messages during it is writing the code. Also need to try to make refactoring and simplifying code as often as possible, and have fully imagination about how your project work, even if AI makes the code. I tried to give AI full control of code logic, for now this is hopeless way which can created many weak code for complicated task and pentagon level security for nothing |
|
It's "working as intended" because i spent a year or so refactoring and "standardizing" the code with AI help, and now it's more aligned with the requests.
As i remember it, it was months of speed paced coding sessions, deeply refactoring schemas, calls, systems... when i look at the stats now, more than 40% was completely rewritten.
I think AI copies the coding style of the repo, and in it's ways it will try to reuse the existing (if easy) or create new paths (because less regression checks)... this is one big thing to monitor from time to time.
One other strategy i found, is like i can refactor things manually from time to time:
I better accept some kinds of technical debt, because i know how to fix it and the cost of fixing drops to almost nothing: what was before a matter of months (like db schema refactoring, ETLs, splitting systems...) is now easy to do and check.
Now with the time i have, i'm simplifying everything, to limit the error surface.