The idea that code quality isn’t as important now is completely wrong. Code quality has always been about how easy it is to make changes to the codebase wrt new requirements.
If your code is a spaghetti ball of shit then it will be just as annoying to your ai when making code changes.
A good refactor prompt is: "can you look through all of these changes, find large functions that have duplicate code, or code that could be extracted into their own functions. prefer pure functions (not methods). use subagents.”
ais are great at refactoring!
If your code is a spaghetti ball of shit then it will be just as annoying to your ai when making code changes.
A good refactor prompt is: "can you look through all of these changes, find large functions that have duplicate code, or code that could be extracted into their own functions. prefer pure functions (not methods). use subagents.”
ais are great at refactoring!
392❤️12🤙4🫂2👀1