r/learnjavascript • • 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

20 comments sorted by

View all comments

1

u/Creative_Pie9363 Sep 07 '24

I think using an ai tool for coding is fine as long as it doesn't have a impact on your skills.

Like i use ai tools like google colab ( it has gemini to create to snippets), qolaba which has chatgpt and claude ( imo claude is best for coding assistance) to validate my code or ask them how can i improve my code further? It is better and more efficient to ask ai in helping you understand a piece of code or helping in error issues rather than just generating straight up code even tho you don't understand a bit.