Re: [Pharo-users] best naming practices for (file) format reading/writing

2017-07-22 Thread Stephane Ducasse
Not really but it would be nice to collect them. On Sat, Jul 22, 2017 at 1:05 PM, Peter Uhnak wrote: > Hi, > > I've seen (and I use) different naming conventions when reading/writing from > files/streams... > > e.g. > > MyReader new readFromStream: aStream. "-> aModel" > MyWriter new writeToStr

[Pharo-users] best naming practices for (file) format reading/writing

2017-07-22 Thread Peter Uhnak
Hi, I've seen (and I use) different naming conventions when reading/writing from files/streams... e.g. MyReader new readFromStream: aStream. "-> aModel" MyWriter new writeToStream: aModel. "-> aStream" or (MyReader new on: aStream) upToEnd. "-> aModel" (MyWriter new on: aStream) nextPut: aMod