On Mon, Aug 11, 2014 at 8:06 AM, Joshua Partlow <
[email protected]> wrote:

>
>
> On Sunday, August 10, 2014, Rahul Gopinath <[email protected]> wrote:
> > Here is a related issue,
> >
> > I notice that there are different conventions for spacing followed
> > when using method calls with parenthesis,
> > including `method(a,b)`, `method( a, b )` and `method( a,b )`. Does
> > the list have a preference for one of the styles when I add
> > parenthesis (to those methods that are not DSL like)?
> >
> > I think our choices are
> > `mymethod(a,b)`   -- currently supported by rubocop
> > `mymethod( a, b )`  -- another common style
> >
> > or any other...
>
> I guess I'm in the any other camp.
>
>  mymethod(a, b)
>

Me too; that's the style I always use.

I find the no-spaces style too cramped and hard to read. I can read the
spaces-inside-parens style; I just never write that.

Kylo

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CALsUZFGj0TKFR7udR-KV_JHCTE_j1zEL2_q4Pwvha5wAVfE3ng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to