3 ms·
Interesting. I have not used AI generated code in professional settings (due to the institutional reasons) but I have thought about this and had postulated tha
by genman 3y ago
Interesting. I have not used AI generated code in professional settings (due to the institutional reasons) but I have thought about this and had postulated that there is high risk that the code will become more bloated and will lose architectural cohesion. It is interesting to have this backed by some data.
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.
- rickydroll 3y agoI 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.