Is this a good idea or a waste of time?

Antoon Pardon apardon at forel.vub.ac.be
Tue Aug 29 02:10:15 EDT 2006


On 2006-08-29, Gabriel Genellina <gagsl-py at yahoo.com.ar> wrote:
> At Tuesday 29/8/2006 02:45, Antoon Pardon wrote:
>
>> >>That may be true. But one may wonder if this is a failing of the
>> >>programmer or a failing of the language that doesn't support
>> >>such things.
>> >
>> > In any case, I don't see how this supports the original claim that
>> > strict type checking input params is good practice.
>>
>>I'm not defending that claim. I'm just putting question marks
>>with the claim that strict type checking input parameters is
>>bad practice.
>
> I think others have shown enough examples of good things that can be 
> done by *not* enforcing a specific type...

That doesn't contradict that in other situations good things can be
done by enforcing specific type or at least limiting to a subset
of specific types.

-- 
Antoon Pardon



More information about the Python-list mailing list