Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
lock1
13 hours ago
|
parent
|
context
|
favorite
| on:
Thoughts on Go vs. Rust vs. Zig
But in most cases you probably want something disjoint like Rust's `Result<T,E>`. In case of "it might be success with partial failure", you could go with unnamed tuples `(Option<T>,E)` or another approach.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: