> Is there a path that allows us to get rid of the idiom you hate but
> retains the usefulness of -w?

Initialize the variables?  That's why the warning is there.  It's
essentially a carryover from languages that want you to declare all your
variables, and the proper way to respect the convention is to effectively do
just that: list them in he initializer with their starting values.

If we don't want to rely on ruby's semantics for uninitialized variables, we
should initialize them.  If we do want to use it we should use it, rather
than reimplementing it.

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