This is not necessarily true. A single call may return a variety of
errors. Otherwise a simple (ok bool) would be enough.

On Tue, 2019-07-09 at 15:49 +0200, Nicolas Grilly wrote:
> On Tue, Jul 9, 2019 at 3:36 PM Wojciech S. Czarnecki <o...@fairbe.org
> >
> wrote:
> 
> > Because given piece of contemporary production code may succeed in
> > only ONE way, but it may FAIL in many ways.
> 
> 
> If a piece of code may fail in many ways, then it will probably have
> several if blocks, and try will not be used. I don't see how this is
> an
> argument against try…
> 

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/e79a521c4ac116df7a78b519f04fefadb8b67205.camel%40kortschak.io.
For more options, visit https://groups.google.com/d/optout.

Reply via email to