On Jan 9, 2013, at 6:05 AM, Jimmie Houchin wrote:

> Thanks for all the suggestions for easier way to create references.
> 
> Part of the problem is that I did not sufficiently read the documentation in 
> the class comment. I also did not know of the PBE2 chapter referenced by Stef.
> 
> Part of the problem is also that the browser in 2.0 is presenting things 
> differently and I am not sure I understand fully what it is communicating.


We will improve it soon.

> 
> When I look at the class methods in FileSystem most of them are gray and a 
> only few black. It is not self evident what the gray coloration means. Also 
> when one clicks on instance creation, the only method is #store:.  So unless 
> you see the class comment, then you won't see the documentation on using 
> FileSystem disk workingDirectory which returns a FileSystemDirectoryEntry 
> instance, while FileSystem disk   returns a FileSystem instance.
> 
> I should have investigated documentation a little harder.
> 
> Jimmie
> 
> On 1/8/2013 11:01 AM, Esteban Lorenzano wrote:
>> anyway, even if there are easier ways to create references, I think Jimmie 
>> is right, there are inconsistencies in the protocol.
>> maybe for 3.0?
>> 
>> On Jan 8, 2013, at 5:58 PM, Camillo Bruni <[email protected]> wrote:
>>> On 2013-01-08, at 17:55, Max Leske <[email protected]> wrote:
>>>> 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'.
>>> or:
>>> 
>>> '/foo/bar/plonk.txt' asFileReference
>>> '/foo/bar' asFileReference
>>> 
>>> which creates a FileReference on the disk, the default
> 


Reply via email to