| ▲ | danielheath 3 days ago | |||||||||||||
One would never return “*” to signal an error in rust code (or any language with an option type). | ||||||||||||||
| ▲ | Scoring6931 3 days ago | parent | next [-] | |||||||||||||
Nothing precludes error handling in C. It's on the programmers to actually do it. | ||||||||||||||
| ||||||||||||||
| ▲ | mxey 2 days ago | parent | prev | next [-] | |||||||||||||
Imagine every Rust program just calling unwrap on this result, and therefore the Rust library deciding to just never return an error. That’s analogous to what happened here. | ||||||||||||||
| ▲ | lakeviewterrace 3 days ago | parent | prev [-] | |||||||||||||
[flagged] | ||||||||||||||