On Thursday, 25 June 2015 at 20:41:13 UTC, Timon Gehr wrote:
On 06/25/2015 04:10 PM, Vladimir Panteleev wrote:


And, IMHO, this:

fileName.readText.lowerCased.detabbed.toFile(fileName.withExtension(".foo"))


looks much better than this:

fileName.readText.lowerCaser.detabber.toFile(fileName.extensionSetter(".foo"))


Definitely. The existing functions should have been named 'joined' and 'splitted'. :o)

I actually hypothesize that "joiner"/"splitter" were chosen because "split" the verb's past tense is also "split", which was taken by the eager function.

Reply via email to