News for hackers. Stuff that matters.
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.

There are no comments on this comment yet.