[Pharo-project] Deprecation policy (was: Re: Object>>at:modify:???)

Michael Roberts mike at mjr104.co.uk
Mon Oct 25 15:49:42 EDT 2010


I think the idea was that the deprecation scheme was fairly simple,
and slightly better than just the original deprecated: . What you
describe looks a bit over the top to me.  just my 2p...

cheers,
Mike

2010/10/24 Levente Uzonyi <leves at elte.hu>:
> On Sat, 23 Oct 2010, Mariano Martinez Peck wrote:
>
>> On Sat, Oct 23, 2010 at 1:32 PM, Stéphane Ducasse
>> <stephane.ducasse at inria.fr
>>>
>>> wrote:
>>
>>> Ok we can deprecate it.
>>>
>>>
>> ys, but please please please use deprecated: anExplanationString on: date
>> in: version
>
> Wouldn't it be easier to rely on method timestamps + a version cache, than
> spreading redundant information all over the place? Something like:
>
> Object >> deprecated: anExplanationString
>        "Warn that the sending method has been deprecated."
>
>        (Deprecation
>                method: thisContext sender method
>                explanation: anExplanationString
>                on: (TimeStamp fromMethodTimeStamp: thisContext sender method
> timeStamp) date "Or something nicer") signal
>
> Deprecation class >> method: aCompiledMethod explanation:
> anExplanationString on: date
>
>        ^self new
>                method: aCompiledMethod
>                explanation: anExplanationString
>                on: date asString
>                in: (SystemVersion alphaVersionAt: date)
>
> Someone has to implement #alphaVersionAt: (which is easy,  but SystemVersion
> has to be modified).
> Finally the developement process has to follow some simple rules.
>
>
> Levente
>
>>
>> cheers
>>
>> mariano
>>
>>
>>> On Oct 22, 2010, at 11:04 PM, Hernan Wilkinson wrote:
>>>
>>>> In a 1.1 image I have, the class HttpRequest is using that message...
>>>>
>>>> On Thu, Oct 21, 2010 at 4:08 PM, stephane ducasse <
>>>
>>> stephane.ducasse at free.fr> wrote:
>>>>
>>>> I would like to deprecate the following method since nobody use it.
>>>> What do you think?
>>>>
>>>> Stef
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project at lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>>
>>>> --
>>>> Hernán Wilkinson
>>>> Agile Software Development, Teaching & Coaching
>>>> Mobile: +54 - 911 - 4470 - 7207
>>>> email: hernan.wilkinson at 10Pines.com
>>>> site: http://www.10Pines.com
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project at lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>




More information about the Pharo-dev mailing list