Live data from Hacker News

LLMs are mortally terrified of exceptions

twitter.com

1–10 of 157 posts

Re: LLMs are mortally terrified of exceptions

#9
post #6
post #2

Even when they're not AI slop, these kinds of "paranoid sanity checks" are the software equivalent of security-theater.

Form over function is what they are trained for. So, verbose commentary, needless readmes, and emojis all serve that purpose.

Coding for the reviewer, not the user.

Re: LLMs are mortally terrified of exceptions

#10
If you are dividing two numbers with no prior knowledge of these numbers or any reasonable assumptions you can make and this code is used where you can not rely on the caller to catch an exception and the code is critical for the product, then this is necessary.

If you are actually doing safety critical software, e.g. aerospace, medicine or automotive, then this is a good precaution, although you will not be writing in Python.

Post reply on HN