On 08.01.2013, at 17:07, Jimmie Houchin <[email protected]> wrote:
> Hello, > > I was writing a small utility using FileSystem. I had never used FileSystem > before. So I am browsing the code trying to learn where to start and how to > use it. > > It took me a little while to learn to do something like: > fs := FileSystem store: (DiskStore activeClass createDefault). Why not fs := FileSystem disk. ?? or: reference := FileSystem disk referenceTo: '/foo/bar.txt'. Cheers, Max > > It would be nice if there were an instance creation method like > FileSystem createDefault which would do the above. > > My utility was renaming some files. Once I had acquired a > FileSystemDirectoryEntry instance I needed to examine the name. > > I see #basename and #fullName. As I browse other classes I see #childNamesAt: > and #pathName, etc. > > I was just curious why #basename and not #baseName? I guess it's like "filename". It's easier to write without camel casing and it's usually used as a "single" word. > > Thanks. > > Jimmie >
