On string formatting and functional programming

phil hunt philh at comuno.freeserve.co.uk
Mon Dec 3 21:47:34 EST 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