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


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

> 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.

§