Re:Sshole
by hedora on Thursday November 05, 2026 @01:21PM
(#50382460)
C has what you are asking for, mostly:
As long as an error condition on the return value causes a crash on use, then it's mostly the same as result. (The main remaining difference being that you do an implicit `.unwrap()` in C, and in things like rust that's an explicit code smell.)
[ Parent
| on HN ]
There are no comments on this comment yet.