Polymorphism between Strings and FileReference

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Polymorphism between Strings and FileReference – Hi, I am often in the case where I have a method taking a file or a string as parameter and I often want to use #readStreamDo:/#writeStreamDo:...
Hi Cyril, On 1 December 2017 at 11:50, Cyril Ferlicot <cyril.ferlicot@...> wrote: > Hi, > > I am often in the case where I ha...
On Fri, Dec 1, 2017 at 11:55 AM, Alistair Grant <akgrant0710@...> wrote: > Hi Cyril, > > The normal way to handle this is #asFil...
To me stringOfFileReference is a bad smell. On Fri, Dec 1, 2017 at 12:04 PM, Cyril Ferlicot <cyril.ferlicot@...> wrote: > On Fri...
Hi Cyril, On 1 December 2017 at 12:04, Cyril Ferlicot <cyril.ferlicot@...> wrote: > On Fri, Dec 1, 2017 at 11:55 AM, Alistair Grant &...
On Fri, Dec 1, 2017 at 12:17 PM, Alistair Grant <akgrant0710@...> wrote: > Hi Cyril, > > > Sorry, I misunderstood. > ...