On 2/20/12, Juan Manuel Cabo <[email protected]> wrote:
> will be trouble. Instead please do:
>
>         "The '%1$s' file's size is %2$d which is wrong"
>

That is the shittiest formatting specifier ever invented. The
unreadability of it is why I never, ever, use it. Python solved this
nicely with its {0} {1} syntax:

>>> print '{0} and {1}'.format('foo', 'bar')

Reply via email to