On Jun 21, 2012, at 2:18 AM, Felix Frank wrote:
> On 06/21/2012 12:30 AM, Jo Rhett wrote:
>> I'm not saying that you're wrong, but I'm still struggling to see this.
>> Every place that class names are used should be single quoted, according
>> to your style guide. And it's very easy in a syntax to tell the
>> different between 'test-jo + 2' and 'test - jo + 2'. Those are not
>> ambiguous. 
> 
> I beg to differ:
> 
> $value = 1
> $value-2 = 2
> $sum = $value-2 +2

I don't see the problem. Those aren't ambiguous for a parser properly 
configured. $sum = 4.

> The limitation seems consistent with the PHP-like syntax, though (is it
> heresy to say this?;)


No, because php prefers camelCase, and that explicitly won't work in puppet.

-- 
Jo Rhett
Net Consonance : net philanthropy to improve open source and internet projects.



-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to