4 ms·
All of the points this article makes are good and true, but something I've never, ever seen and am wondering why is a compiler feedback loop that corrects the c
by shadowgovt 5y ago
All of the points this article makes are good and true, but something I've never, ever seen and am wondering why is a compiler feedback loop that corrects the code with human input.
The compiler is smart enough to guess what variable I meant when I misspell a variable. How come nobody's ever given me a tool to close the loop and when the error is reported, confirm that I want my source code edited to correct and correct it in place?
- aardvark179 5y agoBecause the compiler probably doesn’t have a stdin it can use at that point so you’d need to thread a feedback mechanism through the entire build process. You’re better off building that as a protocol that can be used by IDEs or LSP clients.
- shadowgovt 5y agoExcellent point. I can't think of a protocol that supports it either... Likely one exists and I haven't encountered it.