Why python doesn't use syntax like function(, , x) for default parameters?

Steven D'Aprano steve at REMOVETHIScyber.com.au
Fri Mar 10 20:50:09 EST 2006


On Fri, 10 Mar 2006 11:33:56 -0500, Terry Reedy wrote:

> Actually, I consider the unique calling pattern for x/range to be something 
> of a wart.  Learning this inconsistency was at least a minor problem.  It 
> is a rather extreme example of typing laziness beats purity.

Amazing. I consider it to be a rather extreme example of practicality
beating purity, an excellent example of interface design.

But I guess that's why Guido is BDFL. Well, that and the fact that he
invented Python *wink*


-- 
Steven.




More information about the Python-list mailing list