[Pharo-dev] About cr and lf

Stephane Ducasse stepharo.self at gmail.com
Fri Aug 4 06:03:56 EDT 2017


Hi guys

While writing pillar code, I ended up using "stream cr" and it worries
me to still expand usage
of a pattern I would like to remove.

Let us imagine that we would like to prepare the migration from cr.
I was thinking that we could replace cr invocation by newLine so that
after newLine
could be redefined as

Stream >> newLine
       self nextPutAll: OSPlatform current lineEnding


what do you think about this approach?

Stef



More information about the Pharo-dev mailing list