Re: RFC - Immutable classes
| From: | Silvio Marijić | Date: | Mon, 08 Aug 2016 13:00:12 +0000 |
| Subject: | Re: RFC - Immutable classes | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94926@lists.php.net to get a copy of this message | ||
@Michal, well no I did read it. I see that there is not much going on there
since last year. Did you tried to implement it ?
2016-08-08 14:49 GMT+02:00 Michał Brzuchalski <michal@brzuchalski.com>:
>
> 2016-08-08 14:47 GMT+02:00 S.A.N <ua.san.alex@gmail.com>:
>
>> May be better to do as immutable arrays?
>>
>> const = new Email;
>>
>> it will be a super global immutable instance of Email.
>>
>
> I think you've missunderstood concept of immutable classes.
>
>
> --
> pozdrawiam
> --
> Michał Brzuchalski
>
--
Silvio Marijić
Software Engineer
2e Systems