Mike Schinkel wrote:
> My primary use-case where I would like to see checked relaxed is
> for static methods used as factory methods[2].

Mike,

It's not reasonable to expect people to read multiple links and try
and guess what you're trying to say.

If you can't express the exact problem you're trying to address, it's
unlikely to get a useful response.

Mike Schinkel wrote:
> Per [3] it seems that all but the least upvoted answer argues that LSP 
> applies to instances,

"language-agnostic"

Arguments that apply to other languages do not necessarily map well to
PHP and how it works.

Again, the problem would need to be clearly specified before a useful
response can be given.

> Michał Brzuchalski
> In that case maybe a core annotation like "Override" to relax checks ??

I'm pretty sure that annotations that make it harder to reason about
how code is going to work are generally a bad idea.

cheers
Dan
Ack

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to