Post

Another complaint about any AI-generated code: what is it with all the try-catch? It's everywhere, and it never knows what to do with the caught exception. Best practice is to almost never use try-catch and have top level error logging baked into your app.

Keith Henry@k17.dev

None of the AI vibe coders can handle self-closing tags. <img> always becomes <img /> or <img></img>. When you're scanning a block of generated HTML these dumb mistakes can be easy to miss. They all code like their training data was half-baked React JSX code.

0 reposts3 likes

Even when it does put top level logging in, it circumvents it with dead end try-catch blocks. It's like a junior 90s VB coder putting On Error Resume Next everwhere like it's the secret to reliable code.