On Mon, Jun 24, 2013 at 11:04 PM, Dean Wilson <dean.wil...@gmail.com> wrote:

> On 29 April 2013 08:46, Luke Kanies <l...@puppetlabs.com> wrote:
>
>> No - that's more about running a given chunk of code periodically, but
>> not informing the user specifically, and I think what Dean is more looking
>> for is a reminder to the user to delete some configuration code that's no
>> longer relevant.
>>
>
> That's exactly it.
>
> I no longer work with the people that use this metaparam so I've got no
> major investment in which implementation approach to take but I'd like to
> finish it off for the next time it comes up.
>
> I agree with Dustin that a function in stdlib would cover the class level
> thing but I think a metaparam is still the way to go for finer grained
> deprecations. I'm happy to write a function based version for now but I'd
> be interested in peoples view of the metaparam approach.
>
>
I'm torn on this. I like being able to communicate in the code that
something shouldn't be used anymore and a metaparam seems like a good way
to do that. On the other hand, a metaparam also shows up everywhere and
takes up some of that precious namespace of type parameter names (of course
a type takes up names from the class namespace and a function takes up
names from the function namespace). So if what we are looking for can be
achieved through other means, then that might be better and more flexible
for the future. A metaparam has a feeling of permanence.

That was a very wishy-washy response :)


>   Dean
> --
> Dean Wilson               http://www.unixdaemon.net
> Profanity is the one language all programmers understand
> --- Anon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-dev+unsubscr...@googlegroups.com.
> To post to this group, send email to puppet-dev@googlegroups.com.
> Visit this group at http://groups.google.com/group/puppet-dev.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Andrew Parker
a...@puppetlabs.com
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2013, August 22-23 in San Francisco - *
http://bit.ly/pupconf13*
**Register now and take advantage of the Early Bird discount - save 25%!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-dev.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to