[Python-ideas] crazy ideas

Paul Hankin paul.hankin at pobox.com
Wed May 23 17:51:20 CEST 2007


On 23/05/07, Blake Winton <bwinton at latte.ca> wrote:
> Aaron Brady wrote:
> > [1]  How expensive is it, per instance and in total, to write deque([a,b,c])
> > instead of d<a,b,c>?
>
> I'ld be more interested in how expensive it is, per instance and in
> total, to _read_ deque([a,b,c]) instead of d<a,b,c>?
>
> Speaking as someone who reads way more code than they write, I find the
> extra verbosity of "deque" to be quite helpful, and one fewer thing I
> have to try to remember when reading someone else's code.

Isn't there a problem with ambiguity? Eg
f(d<a, b, c> -e)



More information about the Python-ideas mailing list