[Python-ideas] crazy ideas

George Sakkis george.sakkis at gmail.com
Wed May 23 17:57:34 CEST 2007


On 5/23/07, Paul Hankin <paul.hankin at pobox.com> wrote:

> 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)

Can we please let this pointless idea and the respective thread R.I.P. ?

-- 
"If I have been able to see further, it was only because I stood on
the shoulders of million monkeys."



More information about the Python-ideas mailing list