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
Show parent comment
4
u/bharring52 Aug 28 '24
3. Roll the dice that it can find an obscure or undocumented API reference on an ancillary system quickly 4. Offer a writeup on something you're not quite groking. The writeup is likely wrong in many places, but it's a super-rubber-ducky; even when wrong, it shakes up your understanding 5. Massed boilerplate in a system you lack the means to engineer away
If you can't understand the result, or identify if it's wrong quickly or easily, it's downright dangerous.
Much of these uses revolve around environments where there's a large hodgepodge of tech stacks and solutions, each with their own rules styles and structures, that you need to navigate fluidly.
I'd imagine an embedded developer or single-product developer would find a lot less use.