Because we were analysing the string API and trying to clean it. Now this analysis is publicly available on https://github.com/pharo-project/pharo-workingRoadmaps/blob/master/StringCle... Now I'm quite sure that I do not want to get such behavior into string: why string is responsible to convert junk into a "selector" which cannot even accept the fact that it could need a : This code is bogus and shitty. Stef asLegalSelector "'234znak 43 ) 2' asLegalSelector2" | toUse | toUse := self select: [:char | char isAlphaNumeric]. (toUse size = 0 or: [ toUse first isLetter not ]) ifTrue: [ toUse := 'v', toUse ]. ^ toUse withFirstCharacterDownshifted
As mentioned in Stephan's recent comment in https://pharo.fogbugz.com/default.asp?13754 , some of us were using it. What was the rationale? Maybe removing methods warrants a discussion on the list? How about deprecations?
----- Cheers, Sean -- View this message in context: http://forum.world.st/Why-was-asLegalSelector-removed-tp4806427.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.