Re: [Pharo-project] Object>>at:modify:???
Ok we can deprecate it. 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@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@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@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Sat, Oct 23, 2010 at 1:32 PM, Stéphane Ducasse <stephane.ducasse@inria.fr
wrote:
Ok we can deprecate it.
ys, but please please please use deprecated: anExplanationString on: date in: version 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@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@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@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Why not deprecate/remove the #deprecate: without the useful parameters? :D 2010/10/23 Mariano Martinez Peck <marianopeck@gmail.com>
On Sat, Oct 23, 2010 at 1:32 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
Ok we can deprecate it.
ys, but please please please use deprecated: anExplanationString on: date in: version
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@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@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@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/10/23 Guillermo Polito <guillermopolito@gmail.com>
Why not deprecate/remove the #deprecate: without the useful parameters? :D
I said that few months ago: http://forum.world.st/what-about-deprecating-deprecated-td2306905.html#a2306... :)
2010/10/23 Mariano Martinez Peck <marianopeck@gmail.com>
On Sat, Oct 23, 2010 at 1:32 PM, Stéphane Ducasse < stephane.ducasse@inria.fr> wrote:
Ok we can deprecate it.
ys, but please please please use deprecated: anExplanationString on: date in: version
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@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@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@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Sat, 23 Oct 2010, Mariano Martinez Peck wrote:
On Sat, Oct 23, 2010 at 1:32 PM, Stéphane Ducasse <stephane.ducasse@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@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@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@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
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@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@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@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@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@10Pines.com site: http://www.10Pines.com
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (5)
-
Guillermo Polito -
Levente Uzonyi -
Mariano Martinez Peck -
Michael Roberts -
Stéphane Ducasse