From what I have seen, ChatGPT is good for small code. But, as the code gets bigger, it falls apart. I mean, it's not an analysis tool. It's a human mimicker/simulator
ChatGPT != GPT4
I mean this is true for GPT4 too once your code starts getting large enough.
Using APIs can get you a larger external memory, but we still have relatively small context windows these days.