[Pharo-dev] LabelModel>>#text: Deprecation

Nicolai Hess nicolaihess at web.de
Thu Mar 5 03:39:58 EST 2015

2015-03-04 14:00 GMT+01:00 Sean P. DeNigris <sean at clipperadams.com>:

> What is the reason for this? I searched the lists & fogbugz for "labelmodel
> text" to no avail. To me, "label label: aString" seems odd. Why is this
> better than "label text: aString"?

I think the idea behind this was, one common api for all widgets with a
CheckBoxModel /RadioButtonModel /ButtonModel ....
all have a label: method.

But of course, one can argue, a label itself has a text.

> In general, for refactors like this, where the purpose is not obvious as it
> would be for a bug fix or new feature, it would be good to somehow link
> somewhere for more info. Maybe the deprecation message, since by definition
> will be deleted in the next verison, would be a good place to put an issue
> number or url to a discussion. Also, might I humbly suggest having a native
> English speaker review changes where the intent is to increase "clarity" so
> we don't have another #ensureCreateDirectory incident ;) j/k... But a
> grammar/idiom review would be super quick/easy. Maybe a tag or status in
> fogbugz would help?
> -----
> Cheers,
> Sean
> --
> View this message in context:
> http://forum.world.st/LabelModel-text-Deprecation-tp4809424.html
> Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20150305/48ccdc1a/attachment-0002.html>

More information about the Pharo-dev mailing list