[squeak-dev] The Inbox: 60Deprecated-nice.94.mcz

Marcel Taeumel marcel.taeumel at hpi.de
Tue Apr 13 15:08:27 UTC 2021


:-)

+1 for deprecating it somehow
-1 for using #deprecated: (also for the sake of backwards compatibility in other projects)

Best,
Marcel
Am 13.04.2021 12:20:45 schrieb Nicolas Cellier <nicolas.cellier.aka.nice at gmail.com>:
It's in the inbox precisely for discussion :)

Le mar. 13 avr. 2021 à 12:13, Marcel Taeumel a écrit :
>
> Hi Nicolas,
>
> actually deprecating Symbol API is often dangerous. Especially since Monticello installs moved methods before other changes. I vote for "self flag: #deprecated" or an extra checkpoint in Squeak's update map.
>
> Best,
> Marcel
>
> Am 13.04.2021 12:10:22 schrieb commits at source.squeak.org :
>
> Nicolas Cellier uploaded a new version of 60Deprecated to project The Inbox:
> http://source.squeak.org/inbox/60Deprecated-nice.94.mcz
>
> ==================== Summary ====================
>
> Name: 60Deprecated-nice.94
> Author: nice
> Time: 13 April 2021, 12:10:09.32989 pm
> UUID: 2efd14b2-b4f1-3247-848e-c5f8f0ef9ced
> Ancestors: 60Deprecated-dtl.93
>
> Deprecate Symbol findInterned: aString in favour of lookup:
>
> BEWARE: #findInterned: is an old dialect that might still be used by a Number of external packages, including refactoring browser.
>
> This must be discussed.
>
> =============== Diff against 60Deprecated-dtl.93 ===============
>
> Item was added:
> + ----- Method: Symbol class>>findInterned: (in category '*60Deprecated-instance creation') -----
> + findInterned: aString
> +
> + self deprecated: 'Use #lookup: instead.'.
> + ^ self lookup: aString!
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20210413/1a0bbebc/attachment.html>


More information about the Squeak-dev mailing list