A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014035.html below:

[Python-Dev] s1 == (sf % (s1

[Python-Dev] s1 == (sf % (s1 / sf))? A bad idea? [Python-Dev] s1 == (sf % (s1 / sf))? A bad idea?Michel Pelletier michel@digicool.com
Tue, 3 Apr 2001 10:54:24 -0700 (PDT)
On Tue, 3 Apr 2001, Peter Funk wrote:

> I'm also not sure, whether this is really a worthwile effort and whether
> I should champion this idea further.  From Pauls response I got the
> impression that people already consider the '%' string interpolation
> operator as a language wart rather than an elegant feature.

It is one seriously useful wart!

> I however often like the infix notation better.
> That may be a matter of taste.  Imagine we would have to write:
> 	"%5d %20s %s\n".printf((num, name, adr))
> instead of
> 	"%5d %20s %s\n" % (num, name, adr)
> I'm happy, that this is not the case in todays Python.

Agreed.  I like your proposal.

-Michel




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4