[Python-ideas] crazy ideas

Blake Winton bwinton at latte.ca
Wed May 23 17:32:13 CEST 2007


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.

Later,
Blake.




More information about the Python-ideas mailing list