[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: String interpolation
From: |
Richard Stallman |
Subject: |
Re: RFC: String interpolation |
Date: |
Sun, 11 Dec 2016 04:35:28 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> I don't know: Python has had it for a while, no one uses it, and they are
now introducing interpolation…
> > (with-format ((zot "foo")
> > (thing (funcall '+ 3.42423 4)))
> > "This is %{thing}.2f and %{zot}ss")
> This looks fine too, but the repetition bothers me (I don't really see what
benefit there is to naming all arguments). So I still find
> "This is %(funcall '+ 3.42423 4).2f and "foo"s"
> more readable.
Is there a reason why people are writing (funcall '+ 3.42423 4)
rather than (+ 3.42423 4)?
--
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.
- Re: RFC: String interpolation, (continued)
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/10
- Re: RFC: String interpolation, Clément Pit--Claudel, 2016/12/10
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/10
- Re: RFC: String interpolation, Clément Pit--Claudel, 2016/12/10
- Re: RFC: String interpolation, Yuri Khan, 2016/12/10
- Re: RFC: String interpolation, Clément Pit--Claudel, 2016/12/10
- Re: RFC: String interpolation, Stefan Monnier, 2016/12/11
- Re: RFC: String interpolation, Yuri Khan, 2016/12/11
- Re: RFC: String interpolation, Stefan Monnier, 2016/12/11
- Re: RFC: String interpolation,
Richard Stallman <=
- Re: RFC: String interpolation, Clément Pit--Claudel, 2016/12/11
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/11
- Re: RFC: String interpolation, Richard Stallman, 2016/12/12
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/11
- Re: RFC: String interpolation, Helmut Eller, 2016/12/11
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/11
- Re: RFC: String interpolation, Stefan Monnier, 2016/12/11
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/12
- Re: RFC: String interpolation, Stefan Monnier, 2016/12/12
- Re: RFC: String interpolation, Lars Ingebrigtsen, 2016/12/12