[Python-ideas] string.Template v2

anatoly techtonik techtonik at gmail.com
Fri Nov 29 00:25:26 CET 2013


On Thu, Nov 28, 2013 at 9:31 PM, Ryan <rymg19 at gmail.com> wrote:
> Why not use string's .format?

Good question. I'd say format language is too complicated. It is the
same cryptic printf-like char-micromanagement language syntax, where
every byte counts even if unreadable. I don't know why it was
introduced. Perhaps there was no other way, but it looks more
complicated than common templating engine conventions. I'd say it is
not the best syntax, and its API is not common.


More information about the Python-ideas mailing list