Bug or feature: double strings as one

r rt8396 at gmail.com
Sat Aug 8 01:10:32 EDT 2009


On Aug 7, 10:31 pm, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:
...(snip excessive showmanship) :-)

Ah Steven thats a real nice "snappy comeback" and some may get blinded
by the "black magic" but basically all you are saying is that "version
a" takes less overhead than "version b", compilation wise... but let's
dig a little deeper shall we?

First of all, i don't know about you but i don't set around all day
hard coding string data into my programs so the nano second difference
gained between auto-magic-string-concatination and "s1"+"s2"+"sN"
really doesn't justify a feature(bug??) like this that breaks the Zen
wide open. Sadly all it serves is to confuse new comers and contribute
line noise to the tutorial -- of which there is too much already!

Sure it's a nice parlor trick, but not much more...

Q: Steven, how often do you actually use this feature, i mean *really*
use it?



More information about the Python-list mailing list