Earlier quoted context omitted.
The study shows a doubling in the rate at which tech debt code is produced and checked into the repo. Anecdotally, as a principal engineer, I’ve definitely noticed that new senior engineers on the team that say they are using chatgpt/copilot produce unprecedentedly bad code at unprecedented rates. It takes me 2-3x longer to unwind such crap than it would for me to write it from scratch. As we grow the team, this will…
I was going to ask, why aren't they running the code through unit tests if they're committing such shit code? Does it pass the tests, or is it just inefficient code?
Coding on Copilot: Data suggests downward pressure on code quality
21–30 of 60 posts
Re: Coding on Copilot: Data suggests downward pressure on code quality
#22Gee really? You mean generated code by some ML model means people get lazier and just cut/paste hallucinated code? Who would have thought?
I doubt AI is making anyone lazier and less worried about code quality, if they weren't already.
Re: Coding on Copilot: Data suggests downward pressure on code quality
#23Possible downward pressure on code quality, but maybe it's partly because more people are getting involved in programming with coding assistance? That could be ok if there's more progress overall.
That's possible, but I don't think that would be a positive development either. Code isn't flexible or self-correcting, if you make bad code it will just break by surprise. If the only way someone can code is with LLM assistance then they won't even know what went wrong when the code breaks or takes forever or doesn't handle real corner cases. That said, I've done no LLM coding and don't have a feel for how it goes w…
Code isn't, yes, but LLMs are. That's part of the key here, coding can in some sense now be done at the prompt level along with an acceptance test suite, so rather than coding solution and test suite, you can hypothetically just write the test suite and have the LLM generated the code part.
Re: Coding on Copilot: Data suggests downward pressure on code quality
#24Re: Coding on Copilot: Data suggests downward pressure on code quality
#25Possible downward pressure on code quality, but maybe it's partly because more people are getting involved in programming with coding assistance? That could be ok if there's more progress overall.
Re: Coding on Copilot: Data suggests downward pressure on code quality
#26Also, my current job limits the use of AI coding tools, because of the risk of our IP leaking out. To really be useful, there is a lot of context a programmer should be able to collate. Not all of it is going to be in the repo.
Re: Coding on Copilot: Data suggests downward pressure on code quality
#27Re: Coding on Copilot: Data suggests downward pressure on code quality
#28Re: Coding on Copilot: Data suggests downward pressure on code quality
#29Re: Coding on Copilot: Data suggests downward pressure on code quality
#30One time I had to use the Go protobuff reflection API, and Copilot was actual crucial because the docs are so bad.
Can’t use it in my current role and I feel less productive.