Re: self operator within a double quoted string
| From: | Matijn Woudt | Date: | Wed, 17 Apr 2013 22:02:56 +0000 |
| Subject: | Re: self operator within a double quoted string | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-320868@lists.php.net to get a copy of this message | ||
On Wed, Apr 17, 2013 at 10:19 PM, Marco Behnke <marco@behnke.biz> 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.