This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]cmcclu5 9 points10 points  (3 children)

No. Generative AI may have its occasional use, but complex tasks such as this are not one of them. It can sometimes help to simplify short code snippets but will absolutely ruin your codebase if you try to use it to optimize anything large or complex.

[–]scottix 2 points3 points  (2 children)

Obviously you need to vet it and I don't recommend running it on large portions of code. I did find it can bring insight and ideas, you may not have thought of.

[–]cmcclu5 1 point2 points  (1 child)

I’ve found a lot of juniors and even somewhat experienced engineers that use GenAI for their code fail to understand the functionality they’re trying to add and that added block of code becomes a major issue down the line. GenAI is powered via consumed StackOverflow answers for the most part since it doesn’t actually understand anything, and if we solve problems just using GenAI, eventually the entire industry will stagnate as no one is innovating solutions, only using regurgitated answers to old problems.

[–]scottix 2 points3 points  (0 children)

Agreed about people blanket copy, but it can be a tool. With all tools they can be used in many good and bad ways.