- From: Peter Donald <
>
- To:
- Subject: [chef] Re: attribute naming for Java attributes, snake_case or CamelCase?
- Date: Thu, 12 Apr 2012 18:07:08 +1000
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
On Thu, Apr 12, 2012 at 5:51 PM, Bryan Berry
<
>
wrote:
>
Java stuff all uses CamelCase while ruby uses snake_case
>
>
tomcat "liferay" do
>
jvm do
>
Xms '256m'
>
Xmx '512m'
>
MaxPermSize '256m'
>
end
>
end
>
>
Should the attributes be named MaxPermSize or max_perm_size? Even harder,
>
Xmx or xmx (max jvm heap size)?
>
>
--
Cheers,
Peter Donald
Archive powered by MHonArc 2.6.16.