There is also something between no AI at all, and Ask ChatGPT to write something for you.
For one, IDEs like IntelliJ is adding “AI” enhanced code completion. Basically it suggests one and one line, rather than one function at the time like normal code completion do.
Things like ChatGPT can also be used to ask it questions about code, how some things works, ask it to explain things in a different way that the documentation or stack overflow explains it. Personally I have much more positive experience with that than getting it to write the code itself.