Re: Non-nullable properties
| From: | Rowan Collins | Date: | Mon, 16 Jul 2018 16:17:04 +0000 |
| Subject: | Re: Non-nullable properties | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102857@lists.php.net to get a copy of this message | ||
On 16 July 2018 at 17:07, Wes <netmo.php@gmail.com> wrote:
> This is definitely not as bad as the "billion dollar mistake" though. The
> error still happens, but in a different place.
>
That's exactly what happens in most languages, isn't it? An error happens
when you try to resolve a null reference, but by then it's far too late to
do anything about it.
Regards,
--
Rowan Collins
[IMSoP]