On Sat, 23 Oct 2010, Mariano Martinez Peck wrote:
On Sat, Oct 23, 2010 at 1:32 PM, Stéphane Ducasse <[email protected]
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 <
[email protected]> wrote:
I would like to deprecate the following method since nobody use it.
What do you think?
Stef
_______________________________________________
Pharo-project mailing list
[email protected]
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: [email protected]
site: http://www.10Pines.com
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project