On string formatting and functional programming

phil hunt philh at comuno.freeserve.co.uk
Tue Dec 4 03:47:34 CET 2001

On Mon, 3 Dec 2001 05:10:14 -0500, Oren Tirosh <oren-py-l at hishome.net> wrote:
>According to the responses I got to my string interpolation proposal people
>have missed the point.  I don't really care if the interpolation is done 
>with dollars, percents, backticks or ampersands. 

I don't care either.

> What I care about is that 
>Python should have a compact and readable syntax for representing a string 
>with embedded expression and that THESE EXPRESSION ARE NOT EVALUATED AT 
>RUNTIME.  This means that it can only be a language feature, not a module. 

Python has enouigh language features, and doesn't need the syntax made 
more complex.

If you must, implement this "feature" with a preprocessor.

*** Philip Hunt *** philh at comuno.freeserve.co.uk ***

More information about the Python-list mailing list