Re:Stop Forwarding Errors, Start Designing Them
by amelius on Sunday January 04, 2026 @06:38PM
(#46493594)
Speaking of which, why aren't the LLMs solving these low level plumbing problems for us yet?
[ Parent
| on HN ]
Re:Stop Forwarding Errors, Start Designing Them
by croemer on Sunday January 04, 2026 @07:02PM
(#46493755)
Because LLMs mostly follow historical practice. And examples for bad error handling are more common (and easier) than good error handling.
Re:Stop Forwarding Errors, Start Designing Them
by amelius on Sunday January 04, 2026 @07:06PM
(#46493771)
I'm pretty sure an LLM will be able to handle an instruction such as:
"Wherever exceptions are thrown, add as much contextual information to the exceptions as possible. Use class RichException<Exception> to store the extra information". Etc. etc.