← Back to context

Comment by spullara

2 days ago

Rust and Go literally have you handle it at the call site by default and if you don't want to you have to pass it on.

Go doesn't require you to handle or pass an error upwards. You can call something that returns err and just ignore it, compiler won't care. The "if err != nil" thing is annoying too. Rust made the right compromise with !

Which (at least the way it was done in Go) is ignoring 20 years of experience in programming language design.