emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RFC: String interpolation


From: Philippe Vaucher
Subject: Re: RFC: String interpolation
Date: Thu, 8 Dec 2016 10:05:03 +0100

(format "The value is %.2f." (1+ value))

Well, yes, but if you have a longish string and more than two-three values to fill, it can be difficult to see what value goes where and what the resulting string will look like.

In some situations string interpolations are cleaner, in others printf-like formatting is more readable... it can really go both ways. *In general* I prefer printf-like formatting tho.

There's an argument for supporting both in that reguard.

Philippe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]