[chef] Re: Re: Re: attribute naming for Java attributes, snake_case or CamelCase?


Chronological Thread 
  • From: Bryan Berry < >
  • To:
  • Subject: [chef] Re: Re: Re: attribute naming for Java attributes, snake_case or CamelCase?
  • Date: Thu, 12 Apr 2012 10:14:37 +0200

thanks guys, that's very helpful

On Thu, Apr 12, 2012 at 10:08 AM, Andrea Campi < "> > wrote:
> On Thu, Apr 12, 2012 at 5:51 PM, Bryan Berry < "> > wrote:
>> Java stuff all uses CamelCase while ruby uses snake_case
>>
>>
>> Should the attributes be named  MaxPermSize or max_perm_size?  Even harder,
>> Xmx or xmx  (max jvm heap size)?

On Thu, Apr 12, 2012 at 10:07 AM, Peter Donald < "> > wrote:
> Hi,
>
> I would think that it would be best to keep with ruby conventions
> while in ruby files. All the java-ish cookbooks I work on try to
> follow snake_case where possible

+1




Archive powered by MHonArc 2.6.16.

§