[Python-3000] Reminder: Py3k PEPs due by April

Jason Orendorff jason.orendorff at gmail.com
Wed Apr 11 19:53:22 CEST 2007


On 4/11/07, Phillip J. Eby <pje at telecommunity.com> 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


More information about the Python-3000 mailing list