Hi Sven, thanks for kicking in - yes I do resort to that Finder (and I keep meaning to learn how to port that example search to spotter somehow) - however it only works for non-keyword selectors… (another one to investigate to see if it could potentially let you specify a parameter for its search).
I still wonder however if a category for ‘searching’ might be way more approachable - as accessing is far to broad on collection classes? Tim > On 25 Feb 2019, at 11:40, Sven Van Caekenberghe <s...@stfx.eu> wrote: > > Tim, > > It always takes effort to learn a new language/environment/library. You can't > expect it to be the same to what you know, or for things to be where you > expect them. > > String is also one of the most overloaded classes in the system, it will > never be clean. > > Lots of things fall under 'accessing', that finding something is classified > as such, does not really surprise me. > > Did you know about the Finder 'by example search' ? Here is how to find your > selector: > > <Screenshot 2019-02-25 at 12.36.15.png> > > HTH, > > Sven > >> On 25 Feb 2019, at 12:19, Tim Mackinnon <tim@testit.works >> <mailto:tim@testit.works>> wrote: >> >> I always struggle (even after years of casually using smalltalk) to find the >> String methods that do the heavy lifting (and are comparable to other >> languages). The methods are normally there, but they often have names that >> don’t compare well with other languages. >> >> I think that what doesn’t help is the categorisation of methods in String - >> for example - if I want to do some searching in a String - why is >> #findString: in ‘accessing’ - I totally didn’t think to look in there. To be >> honest, I really wanted a protocol called ‘searching’ - but its not there? >> >> I find the protocols in the system to be pretty bad in all honesty. Its a >> good idea, but I don’t think its clear on whether its protocol, or category. >> And if the former - where are the tools to help ensure things conform to a >> protocol? If the latter - where are the useful, commonly used categories? >> >> Are there any plans to do anything in this area - or is it just a lump it >> scenario? >> >> Tim >