[Pharo-project] SystemNavigation API: browseAllXyz vs. browseAbc
Some selectors are of the form browseAllXyz (e.g. browseAllSendersOf:), while others are like browseAbc (e.g. browseSendersOf:name:autoSelect:) The "All"s seem extraneous. If the thing being browsed is plural (e.g. Senders instead of sender), that implies "All" since there are no other qualifiers, and there's no alternate case unlike subclasses v.s. allSubclasses. ----- Cheers, Sean -- View this message in context: http://forum.world.st/SystemNavigation-API-browseAllXyz-vs-browseAbc-tp46794... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
we should clean the api. On Apr 3, 2013, at 7:39 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Some selectors are of the form browseAllXyz (e.g. browseAllSendersOf:), while others are like browseAbc (e.g. browseSendersOf:name:autoSelect:)
The "All"s seem extraneous. If the thing being browsed is plural (e.g. Senders instead of sender), that implies "All" since there are no other qualifiers, and there's no alternate case unlike subclasses v.s. allSubclasses.
----- Cheers, Sean -- View this message in context: http://forum.world.st/SystemNavigation-API-browseAllXyz-vs-browseAbc-tp46794... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
2013/4/4 stephane ducasse <stephane.ducasse@free.fr>
we should clean the api.
behind the API, should we use Ring internally? I would say yes. Another point is about the environment to scope queries, currently it is a SystemDictionary but shouldn't it something else so that we can scope to one class, one RPackage, many ....? Luc
On Apr 3, 2013, at 7:39 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Some selectors are of the form browseAllXyz (e.g. browseAllSendersOf:), while others are like browseAbc (e.g. browseSendersOf:name:autoSelect:)
The "All"s seem extraneous. If the thing being browsed is plural (e.g. Senders instead of sender), that implies "All" since there are no other qualifiers, and there's no alternate case unlike subclasses v.s. allSubclasses.
----- Cheers, Sean -- View this message in context: http://forum.world.st/SystemNavigation-API-browseAllXyz-vs-browseAbc-tp46794... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
You can also provide a RBBrowserEnvironment (that's what Nautilus is doing) Ben On Apr 4, 2013, at 2:32 PM, Luc Fabresse <luc.fabresse@gmail.com> wrote:
2013/4/4 stephane ducasse <stephane.ducasse@free.fr> we should clean the api.
behind the API, should we use Ring internally? I would say yes.
Another point is about the environment to scope queries, currently it is a SystemDictionary but shouldn't it something else so that we can scope to one class, one RPackage, many ....?
Luc
On Apr 3, 2013, at 7:39 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Some selectors are of the form browseAllXyz (e.g. browseAllSendersOf:), while others are like browseAbc (e.g. browseSendersOf:name:autoSelect:)
The "All"s seem extraneous. If the thing being browsed is plural (e.g. Senders instead of sender), that implies "All" since there are no other qualifiers, and there's no alternate case unlike subclasses v.s. allSubclasses.
----- Cheers, Sean -- View this message in context: http://forum.world.st/SystemNavigation-API-browseAllXyz-vs-browseAbc-tp46794... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
On Apr 4, 2013, at 2:32 PM, Luc Fabresse <luc.fabresse@gmail.com> wrote:
2013/4/4 stephane ducasse <stephane.ducasse@free.fr> we should clean the api.
behind the API, should we use Ring internally? I would say yes.
Yes probably
Another point is about the environment to scope queries, currently it is a SystemDictionary but shouldn't it something else so that we can scope to one class, one RPackage, many â¦.?
We should have a look at RBEnvironment too. Stef
Luc
On Apr 3, 2013, at 7:39 PM, Sean P. DeNigris <sean@clipperadams.com> wrote:
Some selectors are of the form browseAllXyz (e.g. browseAllSendersOf:), while others are like browseAbc (e.g. browseSendersOf:name:autoSelect:)
The "All"s seem extraneous. If the thing being browsed is plural (e.g. Senders instead of sender), that implies "All" since there are no other qualifiers, and there's no alternate case unlike subclasses v.s. allSubclasses.
----- Cheers, Sean -- View this message in context: http://forum.world.st/SystemNavigation-API-browseAllXyz-vs-browseAbc-tp46794... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
participants (4)
-
Benjamin -
Luc Fabresse -
Sean P. DeNigris -
stephane ducasse