|
|
|
|
|
by nomel
113 days ago
|
|
I've had a really terrible time getting LLM to properly handle errors as return values. It seems that bubbling up errors, in a side channel, to a contextually relevant point in the code (exceptions) seems MUCH easier for LLM to reason about/implement properly. Maybe my problem is I'm using a language with exceptions, so trying to go against the statistical grain, with return values, is just too much. |
|
Also, Go makes it way too easy to accidentally swallow an error. Rust doesn't have that problem.