General statistics
List of Youtube channels
Youtube commenter search
Distinguished comments
About
Mikko Rantalainen
ThePrimeTime
comments
Comments by "Mikko Rantalainen" (@MikkoRantalainen) on "New Research On CoPilot And Code Quality" video.
I would love to see more metrics for the lifetime of deleted or modified code. Has that changed after AI tools were introduced? When I maintain an older codebase, the lines that need to be rewritten are often at least 4 years old (in production) which suggests that the existing code was correct but requirements were changed. If the replaced code is pretty new (like weeks or months) it was probably just incorrect. Also, what kind of code is modified? For example, is the code inside private methods or stuff in public methods in class based object oriented programming modified more often for young vs old code?
2
12:50 I guess if the AI usage results in higher probability for copy-pasted code and multiple implementations is fine as long as AI also help fixing all implementations when I have to fix one in the future. Luckily, cloned blocks that do not get the same changes applied later can be detected using the version history even after the fact. So hopefully we'll have AI tools that can inspect the whole history of the codebase and look for this kind of errors in maintenance.
1