Re:Teaching Programming in the Age of ChatGPT
by slashdev on Friday July 21, 2023 @08:19AM
(#36812951)
I use it the other way around. I write the comments first and then I find it can often fill in the code.
I find it especially helpful with SQL queries, and with boilerplate type code. It’s also very helpful when I’d need to lookup the usage of various methods. I just start with the comments and most of the time it saves me the context switch to the browser to lookup the usage.
Maybe it's good for some languages, or for code that's doing the exact stuff a hundred people have already written. Copilot X certainly looks cool, but who knows when that'll be ready.