Re:Errors are values
by enneff on Tuesday January 13, 2015 @05:57AM
(#8879040)
> That second-last example with errWriter destroys safety AFAICT
It is possible to make mistakes. Go isn't the kind of language that forces you to be safe and do the right thing all the time. Like all languages, it makes tradeoffs.
It is possible to make mistakes. Go isn't the kind of language that forces you to be safe and do the right thing all the time. Like all languages, it makes tradeoffs.