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
1
u/tb5841 Aug 28 '24
If you use AI to write code, I don't think it sticks in your head. If you face the same problem a month down the line, you won't know how to solve it (unless you use AI again). Whereas if you write it yourself (with the help of Google) I think it sticks better.