3 ms·
This has more to do with the fact that copilot by nature is additive and not editing your code. There was a recent report about how code quality is dropping in
by skp1995 3y ago
This has more to do with the fact that copilot by nature is additive and not editing your code. There was a recent report about how code quality is dropping in codebases because of the repetitive code being introduced by copilot.
The next evolution as you are saying would be to detect if its a repetitive code and modularise it or refactor it.
- thedougd 3y agoYou can do this today with the VS Code extension. There’s a context menu for copilot to do things like “explain this code”. I asked it to make my current class more DRY and it refactored validation and parsing for a dozen or so arguments. It had one minor misunderstanding of my intent which I fixed by hand.