[Cuis] Use of #deprecated: and/or #deprecatedExplanation:

Juan Vuletich juan at jvuletich.org
Sat Dec 28 16:49:16 CST 2013


On 12/27/2013 11:19 PM, Casey Ransberger wrote:
> Juan: I believe in Pharo they have deprecation warnings. There's a 
> preference to turn them off, and IIRC the first time you hit a 
> deprecated method with them enabled, the system complains (can't 
> remember if it's a dialog or a debugger or what.)

I know. But the point is, given that we don't do that in the base image, 
do we need to do it in external packages?

Cheers,
Juan Vuletich

> On Fri, Dec 27, 2013 at 6:17 PM, Casey Ransberger 
> <casey.obrien.r at gmail.com <mailto:casey.obrien.r at gmail.com>> wrote:
>
>     When I do this, I usually do something like
>
>     self flag: #foo. "Need to remember to take care of foo. --cbr"
>
>     Main point of saying this is, it's nice to have a comment by the
>     flag so when know who raised it and why.
>
>
>     On Fri, Dec 27, 2013 at 2:24 PM, Juan Vuletich <juan at jvuletich.org
>     <mailto:juan at jvuletich.org>> wrote:
>
>         On 12/27/2013 3:24 PM, Germán Arduino wrote:
>>         Hi:
>>
>>         In Squeak was common the use of #deprecatedExplanation: and
>>         also #deprecate:
>>
>>         These methods are not present in Cuis, I'm interested in
>>         learn how manage the ports of packages that use de
>>         deprecation messages. It's a good practice use, for example,
>>         "self flag: 'comment'"?
>>
>>         Thanks.
>>
>>         -- 
>>         Saludos / Regards,
>>         Germán Arduino
>>         www.arduinosoftware.com <http://www.arduinosoftware.com>
>>
>
>         We don't have a specific good practice for that... yet. What
>         is the idea? To let package users know that that method should
>         not be used? What does that method do in Squeak?
>
>         Cheers,
>         Juan Vuletich
>
>         _______________________________________________
>         Cuis mailing list
>         Cuis at jvuletich.org <mailto:Cuis at jvuletich.org>
>         http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>
>
>
>
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jvuletich.org/pipermail/cuis_jvuletich.org/attachments/20131228/f81e3e2c/attachment-0004.html>


More information about the Cuis mailing list