Eliot Miranda-2 wrote > While basenameWithoutExtension is an intension revealing selector it is > soon loooonnnnngggg :-) For file manipulation code that's a problem. I > wonder if something like bodyName is better because it's shorter.
While I too feel a bit of pain from the long selector, I have reservations with #bodyName because I already know I will not remember what that means and will have to constantly look it up. IIRC we already have #base and #basename, which seem to be made up labels for subtle distinctions and I can never remember the difference. I think the domain here is nuanced enough to defy simple labels. I remember when we first integrated FS there was confusion/unworkability around "extension" vs. "extensions" for e.g. /myfile.tar.zip vs. /mypackage.1.mcz ----- Cheers, Sean -- View this message in context: http://forum.world.st/19609-FileReference-base-should-be-before-last-separator-tp4961729p4962586.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
