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/2002-June/025665.html below:

[Python-Dev] PEP 292, Simpler String Substitutions

[Python-Dev] PEP 292, Simpler String Substitutions [Python-Dev] PEP 292, Simpler String SubstitutionsDavid Abrahams David Abrahams" <david.abrahams@rcn.com
Wed, 19 Jun 2002 23:55:44 -0400
From: "Damien Morton" <damien.morton@acm.org>

> "`name.capitalize()` can jump `height*1.7` meters".sub() -> "guido can
> jump 3.264 meters"

I love this suggestion. It's the sort of thing you can't do in C++ ;-)
I suspect the arguments against will run to efficiency and complexity,
since you need to compile the backquoted expressions (in some context).

Hmm, here they are... Nope, I'm wrong

-Dave






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