Re:Poor code quality due to AI assistants GitHub Copilot and...
by rickydroll on Saturday January 27, 2024 @02:37PM
(#39159044)
I experienced the same thing when I first started using AI as a coding assistant. As my skill with the tool improved and I developed a better process for working with AI coding assistance, those problems disappeared.
I only knew to be aware of and correct these issues because I have decades of experience writing software. Modern business practices won't give junior developers the time to learn good practices and they won't get much mentoring because the senior people disappear after a couple of years.
Now this is not necessarily a bad thing. I have seen a lot of code that is trying to follow the DRY principles and the result is horribly tangled mess where you have no idea what gets when executed by just looking at the code.
There is also hope that AI summarizing ability could help to gain a better systematic understanding of the code. Perhaps it's generalization capabilities could even help to refactor the code and build up a good test suit.
But this is to be seen to happen and better awareness is an advantage.