[Python-ideas] Wild idea about mutability
Rob Cliffe
rob.cliffe at btinternet.com
Thu Jun 2 14:12:35 EDT 2016
On 02/06/2016 14:55, Sven R. Kunze wrote:
> On 02.06.2016 15:05, Rob Cliffe wrote:
>> Sure, there are many difficulties.
>> This was intended to be a blue-sky idea. I would like to pose the
>> question "If I had to redesign Python from scratch, would I think
>> this is a good idea?"
>
> I don't think that's an overly stupid idea. In such regard, Python
> wouldn't be the first project dealing with mutability in this manner.
> PostgreSQL already does.
>
> One question I would have: would it be enforced? Or can objects
> designer choose between enforced immutability and informative
> immutability? Or would it be enforced inconsistently at some places
> where at other places it does not matter.
> To me the 100% enforced variant would be the least troublesome.
+1
More information about the Python-ideas
mailing list