The Hidden Cost of Copy-Pasting Code Into ChatGPT
AI coding tools promise faster development. The METR study found the opposite: experienced developers were 19% slower on complex tasks when using AI, even though they perceived themselves as 20% fa...

Source: DEV Community
AI coding tools promise faster development. The METR study found the opposite: experienced developers were 19% slower on complex tasks when using AI, even though they perceived themselves as 20% faster. The biggest contributor wasn't bad code generation. It was the workflow around it. Every time you alt-tab from your editor to a chat window, paste a function, explain what it does, describe the bug you're seeing, read the response, mentally translate it back to your codebase, switch back to your editor, and apply the changes, you're paying a productivity tax that compounds across a day of work. Microsoft Research found that context switches during programming require an average of 10-15 minutes to regain deep focus. If you're switching to ChatGPT 20 times a day, the math is brutal. What you lose in the copy-paste loop When you paste a function into ChatGPT, the AI sees text. It doesn't see: What file this function lives in What other files import it The test suite that covers it The err