Re:Warming up to Go
by fooster on Saturday September 12, 2015 @05:54PM
(#10209514)
Or someone will catch it and discard the result which is often often what occurs. For example, with java throw an exception in an executor task (an assertion failure for example). What do you think occurs?
[ Parent
| on HN ]
Re:Warming up to Go
by jacques_chester on Sunday September 13, 2015 @07:34AM
(#10211030)
Which happens in Go too. I've seen a lot of code that happily sails past functions which only return err, meaning the compiler never pipes up.
Don't get me wrong, though. I become grumpy when I see empty catch clauses. Or a logger figleaf.