Comment

Comment by 0xdeadb00f

To say go's simplicity is a lie, then to go and and say this;

> This function signatures tells us a lot already. It returns a Result, which means, not only do we know this can fail, we have to handle it. Either by panicking on error, with .unwrap() or .expect(), or by matching it against Result::Ok / Result::Err, or by bubbling it up with the ? operator.

What the hell? I'm not a rust dev. I have no idea what half of this means. "bubbling up"? What the fuck even is that?

parent 0xdeadb00f 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton