[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Immutable Tables Library
- From: dyngeccetor8 <dyngeccetor8@...>
- Date: Thu, 26 Apr 2018 07:51:49 +0300
On 04/26/2018 06:46 AM, Daurnimator wrote:
> On 26 April 2018 at 14:41, dyngeccetor8 <firstname.lastname@example.org> wrote:
>> So it's impossible to modify existing fields?
>> Say if implement mentioned "Point" as a class, there will be no sense
>> in method (Point:moveTo(x, y)) ?
> That's what immutable means.
Yes. I just can't imagine useful example of class with immutable
fields. In my opinion, this implementation of immutable tables
is very good, but class analogy misguides intended usage.