[go-nuts] Re: Error checking and defer

2017-03-16 Thread Nathan Kerr
I prefer to accept that multiple errors can occur. https://pocketgophers.com/handling-errors-in-defer/ -- 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-nut

[go-nuts] Re: Error checking and defer

2017-03-15 Thread Agis
So why just not use `defer` when you care about errors? What's your proposal? -- 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...@googlegroup