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
Using APIs can get you a larger external memory, but we still have relatively small context windows these days.