On Tue, 9 Jul 2019 15:19:22 +0200
Nicolas Grilly <nico...@vocationcity.com> wrote:

> I agree that the "sad" path is as important as the "happy" path, but I
> wouldn't say it's more important to the point of dominating the number of
> lines in a function. In some functions, 2/3 or 3/4 of the lines are
> dedicated to error handling.

Because given piece of contemporary production code may succeed in
only ONE way, but it may FAIL in many ways.

-- 
Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE

-- 
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/20190709153627.3ed49902%40zuzia.
For more options, visit https://groups.google.com/d/optout.

Reply via email to