ChatGPT sometimes reminds me of a junior programmer.
I asked for a code example of clipping a polygonal shape with another polygonal shape, and it wrote code that just deleted vertices from the subject polygon that were outside the clipping polygon.
Interestingly, the correctness of the code it generated depended on which language I asked for it to generate the code in. I assume that says something about the corpus of code it analyzed and the relative quality between the languages.