Hacker News new | ask | show | jobs
by cedws 950 days ago
That won't work because in Go you often need to wrap errors with additional context.

I have worked with Rust Option/Rust types and found them extremely unergonomic and painful. The ?s and method chains are an eyesore. Surely PLT has something better for us.

3 comments

In Rust you can wrap a context by chaining a context method on before the ?, at least with libraries like anyhow.
What does PLT mean in this context? I wasn't able to $searchengine it
Programming Language Theory
Do go errors or rust options include stack traces?