News for hackers. Stuff that matters.
Re:Generating Code Without Generating Technical Debt? by Manfred on Friday November 10, 2023 @03:56PM (#38224404)
People usually commit code that is written by code assistants intermixed with their own changes. You would not be able to track it, even on first commit.
Re:Generating Code Without Generating Technical Debt? by joshuanapoli on Friday November 10, 2023 @04:54PM (#38225051)
We can use a fine-grained commit style to distinguish hand-written and machine-written lines of code. I like this style for command-line driven AI tooling, where my tool is making bigger code changes (completing a function or file). In this case, it's easy to include a "git commit..." command in the tool.

Unfortunately, it doesn't work with GitHub Copilot's style, which assumes really fine-grained interaction.