On 4/11/07, Phillip J. Eby <[EMAIL PROTECTED]> wrote: > But there's another Python principle here, I think... complexity of > computation should be represented by complexity of syntax. We don't > generally like to use properties for expensive computation, or methods for > simple field access, for example. Putting in a '+' sign makes the code > *feel* like there's more computation going on, even if the computation gets > optimized away.
Hmm. It sounds like what you're saying is, if we're going to do string constant folding, then it makes sense to have a special case in the grammar to reflect that visually. It's a nice principle, but I wouldn't take it that far. -j _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
