Despite being impressive chatgpt presents me some bad practices when I ask for code. The first implementation used exception handling for expected control flow. Even if I ask why it prefers the presented solution over my suggestion it presents the its solution superior.