chatGPT thinks that class declarations are hoisted to the top of their scope But, after a bit of arguing, I was able to convince him that he was wrong. chatGPT may be wrong (rarely, but still), but that makes it even more human-like.