ChatGPT is very good with the basic code generations but when it comes to advanced stuff it doesn't do a very good job. and sometimes even if the code is correct it's not the best solution! we are safe!