Why not make this class a factory in the interim ?

DeprecatedClass class>>new
    self deprecated: 'DeprecatedClass use BrandNewClass instead'.
    ^BrandNewClass new

2011/8/4 Mariano Martinez Peck <marianop...@gmail.com>:
>
>
> On Thu, Aug 4, 2011 at 1:42 AM, Chris Cunningham <cunningham...@gmail.com>
> wrote:
>>
>> On Mon, Aug 1, 2011 at 12:21 PM, Stéphane Ducasse
>> <stephane.duca...@inria.fr> wrote:
>> > The most important aspects is that there is not reference to it.
>> > and that if we replace it by something else, it works.
>> > After we can write in the comments in big that the class is deprecated.
>> >
>>
>> Could you (we) also deprecate all the methods in the class?  Ideally
>> in some automated way, of course.
>>
>
> Or remove all methods and implement
>
> doesNotUnderstand:
>
>     ^Error new signal: 'All mehtods of this class are deprecated, please use
> ....'
>
>
> hehheheh  :)
>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>

Reply via email to