|
From: | Paul Eggert |
Subject: | Re: RFC: String interpolation |
Date: | Tue, 13 Dec 2016 16:07:10 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 |
On 12/13/2016 03:55 PM, Lars Ingebrigtsen wrote:
I don't think you'd want to rewrite that to (message "The time is %d%" clock " in the %s%" part " bit of %s%" country) Or would you? (The final "%" is optional, of course.")
Apparently some people prefer this style -- it's what started the thread, after all.
A minor point: in the currently-proposed implementation, that final "%" is not allowed. It is easy to add support for it as a further (very small) extension.
[Prev in Thread] | Current Thread | [Next in Thread] |