That's an awful suggestion. ChatGPT isn't a coding tool. It is, as the name suggests, a machine learning algorithm chat bot that attempts to produce outputs mimicking its training dataset. It doesn't understand anything of what it outputs.
That means that if you ask it to write code, it'll produce something that looks like it might work, but will have very subtle errors in the logic that you might overlook when reviewing it. That makes it actively worse than just googling for code snippets from authors of dubious skill, because they at least make errors that are obvious. ChatGPT is banned from StackOverflow for exactly this reason. Literally nobody should be using ChatGPT to generate code that they actually intend to use even after reviewing it.
That means that if you ask it to write code, it'll produce something that looks like it might work, but will have very subtle errors in the logic that you might overlook when reviewing it. That makes it actively worse than just googling for code snippets from authors of dubious skill, because they at least make errors that are obvious. ChatGPT is banned from StackOverflow for exactly this reason. Literally nobody should be using ChatGPT to generate code that they actually intend to use even after reviewing it.