> I'd consider both to be perfectly reasonable ways of going about
> what you're doing. [...] And most of the time I would likely pick example 1

Thanks Nick. Example 1 is my preference as well - I'm a fan of the Zen
of Python's "Explicit is better than implicit" and "Flat is better
than nested".

However most other templates I've seen tend to resemble example 2.
It's good to know that's mostly just preference, not because example 1
is somehow flawed.

-- 
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 visit 
https://groups.google.com/d/msgid/golang-nuts/CAAR6NGkPsEfev1Vppva1yTyJWPTws8sLq5ZB0nuYhRZpShuCBQ%40mail.gmail.com.

Reply via email to