On Tue, Oct 27, 2009 at 1:41 PM, Evan Carroll <li...@evancarroll.com> wrote:
> It is hard to have these discussions being banned from IRC, but maybe
> - beyond a notice in MX:AH deprecation - some functionality notifying
> the user of an API change is required?

No API change is required. Old code can continue to use MXAH. New code
should use native attributes.

> Like something in MX:AH that
> when used with a Moose > .90 the attribute traits would output a nice
> warning message.
>
> Warning the functionality of MooseX::AttributeHelpers has been moved
> to core, please reference "Moose::Meta::Attribute::Native" for the new
> API.

I don't see any reason to start warning about it. The code will
continue to work fine. MXAH is not really deprecated (we're not going
to remove it from CPAN), it's more just superseded.

> I've often thought that warnings were better explicit and overly
> verbose in libraries and disabled via -X by the end user, but maybe an
> env DEVELOPMENT flag would be just as useful. There are at least a few
> examples of where as a developer I was stung with stuff that was
> currently supported but deprecated, supported but retarded, or
> implemented but unsupported.
>
> --
> Evan Carroll
> System Lord of the Internets
> http://www.evancarroll.com
>

Shawn

Reply via email to