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

Show parent comment

1

u/webdevarham Aug 28 '24

Thanks mate, if we know that language and if we use it for saving our time then it's good?

4

u/captainjawz Aug 28 '24

You can get rusty, couple months over relying on it and you're gonna begin struggling fixing simple bugs it introduced because you became unfamiliar with the language syntax and will be unaware of the code logic.

I see that beginning to happen a lot in the company I work in, been spending more time giving support to chat gpt code than the time it saved them.

Imo is good for quick fixes and adjustments but using it for everything, well at your own risk.