On 14/10/09 22:51, Luke Kanies wrote:
> 
> I personally disagree that these idioms qualify as code smell, since I  
> use them to avoid a warning (ruby -w is essentially entirely useless  
> if you don't tend to use this idiom).
> 
> I appear to be "unanimously" overridden, though, so I'll bow out of  
> that part of the discussion.

I don't really know ruby, but if it's anything like perl (I have a perl
background) then warnings are very useful.

It's accepted PBP [1] to run all code with warnings enabled and to write
your code so that it doesn't generate warnings.

Perhaps ruby is different? If it is, then I'm not qualified to speak
about this. If not, I agree with Luke.

R.

[1] perl best practice

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to