[squeak-dev] ANN Rio now supports ftp

Igor Stasenko siguctua at gmail.com
Wed Nov 12 15:18:39 UTC 2008


2008/11/12 Keith Hodges <keith_hodges at yahoo.co.uk>:
>
>>> I like the original #asRio, and I wonder if there are any other
>>> smalltalks which already use #asFile and #asDirectory, and classes File
>>> and Directory. Nevertheless I can see why people would prefer the latter.
>>>
>>> votes?
>>>
>>>
>> both? :)
>>
>>
> Igor, has anyone ever called you a trouble maker?
>

okay, okay..  :)
it is really hard to choose. I'd prefer #asFile, #asDirectory ,
because its less ambiguous and better indicates one's intent.
But, as i read from your docs, if i not mistaken, behind these methods
you having an instance of same class. From this perspective, there's
enough a single selector to convert string into rio instance. It also
puts less fat in String protocol (if anyone cares).

> Keith
>

-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list