I don't think AI could generate 90% or even 40% of my code, but by god does it generate me a lot of boilerplate and comments. My work just gave us all Copilot and it's really good at creating useful comments (even for Pydocs), and writing out simple but mildly tedious things like the outline of a loop, simple functions etc. No risk really from either since they're all short enough for me to sanity check as the AI is…
> but by god does it generate me a lot of boilerplate and comments. Why would you have it write comments? The core of most useful comments is understanding that's not directly reflected in the code (hence the comment), and things that capture your understanding of what you're doing. Boilerplate comments are noise.
So for example if I start typing 'while' it will let me tab complete out the whole skeleton of that loop. For simpler things it even seems to be able to guess my intentions and actually populate the loop and its conditions.