2018-03-19 20:39 GMT+01:00 Esteban A. Maringolo <emaringolo@gmail.com>:2018-03-19 16:32 GMT-03:00 Denis Kudriashov <dionisiydk@gmail.com>:
>
> Hi Guille.
> What you think to add helpfull converting methods?
I'd like them. Anything that saves me from passing a string literal as
parameter is good. :)
> aStream buffered.
I'd only change this one, to #beBuffered.But #be sounds like it modifies receiver.��But idea is same as #reversed or #sorted for collections.����
> aStream withLineEnding: String cr.
> aStream withPlatformLineEnding.
These two seem ambiguous to me, #with prefix signals something else in my head.��
I'd remove the "with" and use instead:
�� aStream lineEnding: String cr.
�� aStream usePlatformLineEnding.Same here. They will return new instances wrapping receiver. And #with is like #copyWith: for arrays.Maybe something like:aStream forcedLineEnding: String cr.aStream forcedPlatformLineEnding.��
Regards!
Esteban A. Maringolo