Re: [PHP] self operator within a double quoted string

[email protected] (Matijn Woudt)
Newsgroups php.general
Message-ID <CAC_gtuOBRzFa1XJB=oOkp-6PtEkPaqZ_x0nyMfJ1sqgDaB827g@mail.gmail.com>
On Wed, Apr 17, 2013 at 10:19 PM, Marco Behnke <[email protected]> wrote:

> Or use printf which is much more readable.
>

Are you serious about this? How would printf make things more readable?
Given a string with some %s %d etc in it, and then at the end you're giving
the stuff that replaces them. I fail to see how that improves readability
when you can put the variables in the string at exactly the place they are
printed, so the final string can be read as a somewhat normal text.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.