> This leaves some: "if !" which we could as well replace with unless,
> which is easier to read, the reverse is also true (ie unless ! => if).

Agreed.  There are actually quite a large number of additional cases.

>Why not then extend your regex to cover those cases?

Mostly because I wanted to first get consensus around the *idea* of
automated code transformation refactorings, before getting into the
nittygritty of all the things that need to be done.  Since the reaction
seems positive (you, Luke, Rein, so far) I plan to do a lot more.

-- Markus

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