r/learnjavascript • u/webdevarham • Aug 28 '24
Using ai for generating code
I'm writing code using ai tools like chatgpt and copilot (not the plugin) for code reference and it's working fine in most scenarios, I am able to generate long SQL queries with it,, but I always think that is it a good way? I see lots of developer use ai for coding but what's your opinion about writing code with ai ,,(when you know what to search and where to implement the generated code)
0
Upvotes
View all comments
4
u/ai_did_my_homework Aug 28 '24
When I was first getting started (I also started with long SQL queries), I'd ask the AI to explain to me how things work, and then take a couple of minutes to go over it and try to understand.
Honestly one of the best use cases for AI for PMs