immutability is a "user experience".  In a sense, (other than memory mapped 
files), there is already a (very common) "return new value" semantic to 
operations which may be understood as immutability.


A logically immutable array/language though would mean reassignment would be 
illegal.  As I understand things anyway.




----- Original Message -----
From: Erling Hellenäs <[email protected]>
To: [email protected]
Sent: Saturday, October 1, 2016 3:56 PM
Subject: Re: [Jprogramming] Non-mutable arrays

On 2016-10-01 15:40, 'Pascal Jasmin' via Programming wrote:
> Forcing immutable only arrays is not an option for this language if it is to 
> remain compatible with itself

Someone wants to give a more specific explanation to this? What in the 
language prevents immutable only arrays?


/Erling

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to