On Mon, Jan 6, 2020 at 7:18 PM Larry Garfield
wrote:
> On Mon, Jan 6, 2020, at 5:16 AM, Nikita Popov wrote:
>
> > Others have already explained why constructors are exempted from LSP
> > checks, so let me reply to your other point...
> >
> > I believe that your example should indeed be legal in g
On Mon, Jan 6, 2020, at 5:16 AM, Nikita Popov wrote:
> Others have already explained why constructors are exempted from LSP
> checks, so let me reply to your other point...
>
> I believe that your example should indeed be legal in general and created a
> PR to fix this: https://github.com/php/php
On Sun, Dec 8, 2019 at 1:29 AM Larry Garfield
wrote:
> I am not sure if this is a bug, a feature behaving in a desired but
> confusing way, or a feature behaving in a confusing and thus undesireable
> way. I am therefore reporting it here in order to defer to those who know
> the answer to such
On Sun, Dec 8, 2019, at 10:14 AM, Rowan Tommins wrote:
> On 08/12/2019 05:03, Mike Schinkel wrote:
> > Hi Larry,
> >
> >> I am not clear on why __construct() is special in this case;
> > I believe that is the Liskok substitution principle at work, and that fact
> > the principle does not apply to
On 08/12/2019 05:03, Mike Schinkel wrote:
Hi Larry,
I am not clear on why __construct() is special in this case;
I believe that is the Liskok substitution principle at work, and that fact the
principle does not apply to constructors.
For reference:
-https://softwareengineering.stackexchange
Hi Larry,
> I am not clear on why __construct() is special in this case;
I believe that is the Liskok substitution principle at work, and that fact the
principle does not apply to constructors.
For reference:
- https://softwareengineering.stackexchange.com/a/302477/9114
- https://www.sitepoint
I am not sure if this is a bug, a feature behaving in a desired but confusing
way, or a feature behaving in a confusing and thus undesireable way. I am
therefore reporting it here in order to defer to those who know the answer to
such questions better.
Consider the following:
class Ancestor {