On Tue, May 13, 2014 at 11:38 PM, Tim Penhey <[email protected]>wrote:

gofmt becomes the source of truth. As long as it is happy, I'm happy
> enough.
>

+1, should be too difficult to find a common agreement for all
possibilities and all developers. Thankfully go has a tool like gofmt, I
had enough discussions about topics like this during my Java time. :/

Only aspect I think about when having very long function declarations is if
there are alternatives (e.g. grouping of arguments which are used in this
combination more often into a struct; variadic option arguments; different
public funcs when some args are optional, common logic in private func
etc.). But if nothing of this makes sense I'm happy that gofmt helps me
that everything is fine aligned. :)

mue

-- 
** Frank Mueller <[email protected]>
** Software Engineer - Juju Development
** Canonical
-- 
Juju-dev mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/juju-dev

Reply via email to