[OT, unix] Looking for recursive soft linking incantation

Tim Rowledge tim at sumeru.stanford.edu
Sat Feb 9 00:55:31 UTC 2002


Ned Konz <ned at bike-nomad.com> is claimed by the authorities to have written:

> On Friday 08 February 2002 01:29 pm, Tim Rowledge wrote:
> 
> > I thought ruby was supposed to be object oriented though? Why would one
> > need to use File.basename(srcfile) instead of 'srcfile basename' or
> > 'basename(srcfile)' etc ? Puzzling...
> 
> perhaps because String doesn't understand basename? This is the same issue we 
> talked about earlier for Squeak; why should Strings understand filename 
> manipulation?
> 
> This is the same as Squeak's FileDirectory class>>baseNameFor: aString
> 
> What both are missing is a Filename class, IMO.
Exactly; enumerating filenames in a directory really should return
Filenames.


-- 
Tim Rowledge, tim at sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Useful random insult:- Suffers from Clue Deficit Disorder.




More information about the Squeak-dev mailing list