emacs-devel
[Top][All Lists]
Advanced

[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.




reply via email to

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