On 2005-11-28, Duncan Booth <[EMAIL PROTECTED]> wrote:
> Antoon Pardon wrote:
>
>> 
>> No I gave an example, you would implement differently. But even
>> if you think my example is bad, that would make it a bad argument
>> for tuples having list methods. That is not the same as being
>> a good argument against tuples having list methods. 
>
> Tuples don't have list methods, therefore any code which seems to require a 
> tuple with list methods should make you stop and consider whether your 
> design is wrong.

IMO that is a non-sequitur, because that makes what is good or bad
design dependand on the language used.

If I have a design that seems to require tuples with a count method,
then wether that is a good or bad design doesn't depend on
whether or not python allows that or not.

-- 
Antoon Pardon
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to