2 ms·
Because LLMs mostly follow historical practice. And examples for bad error handling are more common (and easier) than good error handling.
by croemer 10mo ago
Because LLMs mostly follow historical practice. And examples for bad error handling are more common (and easier) than good error handling.
- amelius 10mo agoI'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.
- croemer 10mo agoSure, but writing and maintaining such instructions is also work. And not something one thinks about usually until the debugging session with insufficient errors.