Comment by Garlef
2 days ago
Yes. And AI is bad at design.
But that's why you tell the AI to refactor.
I've started a greenfield project and went 100% AI for learning purposes (of course it's more like 95%) and my takeaway is:
- it's fully possible
-- but the AI is of no great help with figuring out what the architecture or interfaces should be
- Keep a refactoring backlog
-- Spend 30%-40% of your time on refactoring, aligning patterns, improving architecture
-- depending on your codebase, this can happen in parallel
-- sometimes you need to get your hands dirty and do the cleanup yourself
-- ... but usually, you only need to establish the pattern once
- once the patterns are established, it becomes easy to talk to the AI in the context of your codebase
-- you can reference patterns by name or location
re: your last bullet.
This has been very effective in my experience. “See class foo for example implementation “