Comment by AstroBen
2 days ago
I'm working on a greenfield project right now and my experience has been 100% in line with the video
I think it might be even worse for greenfield work, as that's when you're establishing a lot of patterns. You don't want AI to have any role in that
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 “