[Top][All Lists]

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

Re: RFC: String interpolation

From: Stefan Monnier
Subject: Re: RFC: String interpolation
Date: Sun, 11 Dec 2016 12:38:51 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> Thanks for the feedback! Can you share concrete examples in which this
> makes maintenance harder?

I think the simple fact that it makes
highlighting/completion/indentation more complex (not to mention the
potential to have format-strings within format-strings within...) is
a good hint that you don't want to encourage writing code within the
format string: it works fine for very simple pieces of code, but for
anything more significant you're better off writing the code outside the
string (and then referring to that code from the string).


reply via email to

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