> On Tue, Aug 30, 2016 at 3:13 PM Eric V. Smith <e...@trueblade.com> wrote:
> >On 08/30/2016 07:02 AM, Philipp A. wrote:
> > Also the name “f-strings” is really misleading: They’re composite
> > expressions that evaluate to strings. They can only be considered
> > strings if you have no braced code parts in them. So I’m also still in
> > favor of renaming them (e.g. to “f-literals”).
> I don't have much of an opinion here. I think there's not a lot of
> confusion to be had by calling them f-strings, but I think someone who
> works with teaching python might have a better handle on that.

The problem is that "literal" is a technical term in the domain of
compilers, and not a well known or self-explanatory term. Especially for
beginners. I'd suggest something like "Format expression".

~Elazar
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to