Re: [RFC][DISCUSSION] Object type hint

From: Date: Mon, 24 Oct 2016 13:31:39 +0000
Subject: Re: [RFC][DISCUSSION] Object type hint
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-96590@lists.php.net to get a copy of this message
On Oct 24, 2016 6:17 AM, "Dan Ackroyd" <danack@basereality.com> wrote: > > But I don't see how this RFC 'encourages' what you consider to be a bad practice. Instead it provides a useful thing that could be misused by bad programmers. To clarify, programmers are not 'bad'. Their implementation choices, though, may lead to ambiguous, unintelligible, or unmaintainable code. If there are examples where this support would lead to poor choices, I've not recognized them. But, Marco listed the cases I think would benefit from this support. +1

« previous php.internals (#96590) next »