On 2007-10-16, Simon Brunning <[EMAIL PROTECTED]> wrote:
> On 10/16/07, Benjamin <[EMAIL PROTECTED]> wrote:
>
>> Good explanation, but basically strings are immutable so they can be
>> used in dicts.
>
> Nope. Value types should always be immutable.
>
><http://c2.com/cgi/wiki?ValueObjectsShouldBeImmutable>

And strings are considered value objects because...

-- 
Neil Cerutti
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to