Hi list,

I figured I'd explain my commit here, since I don't know how you handle your
issue tracker.

While I was loading some code in my image (Universes iirc), I got a lot of
warnings pop up, about Url>>#toText being deprecated.
After taking a look at it, I saw that the deprecation comment recommended
using instead Url>>#asText. Which I tried, but it broke most of the SUnits
and also the expected behaviour.
Looking at the code, I saw that Url>>#toText simply did ^self asString, when
Url>>#asText does ^self asString asText. The semantic leap between Text and
String is too big (imo) to force that change on users.
I thought it would be better to replace the deprecation comment to recommend
replacing the obsolote Url>>#toText by Url>>#asString (which is what this
method actually does).

I would rather have removed the method, since it has been marked for
obsolete for more than 3 years now! But I don't know what the approach is to
deleting methods, and how to communicate to people that this isn't a missing
method but an intentional removal.

I hope this helps understand this version.

Cheers,

Yann
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to