default value in __init__

Aaron Brady castironpi at gmail.com
Sun Oct 19 04:52:52 CEST 2008


Steven D'Aprano wrote:

> On Sat, 18 Oct 2008 09:17:28 +1300, Lawrence D'Oliveiro wrote:
>
>> In message
>> <da493481-7183-423d-bf12-56c1ca8a7f04 at k30g2000hse.googlegroups.com>,
>> Aaron "Castironpi" Brady wrote:
>> 
>>> The purpose of a parameter is something that the caller can supply, but
>>> doesn't have to.  It is not for internal-use-only items.
>> 
>> Exactly!
>
> Says who?
>
> Using arguments for internal-use-only is a perfectly acceptable example 
> of practicality beating purity.

That's a stretch.





More information about the Python-list mailing list