On Sep 22, 2014 11:06 PM, "Stas Malyshev" <smalys...@sugarcrm.com> wrote: > > Hi! > > > - One about having scalar typed arguements, hinted or not, simple > > yes/no, so we at least agree on having the feature > > I'm not sure how that would work. We agree on having what feature? > Having coercive typing and having strict typing are two different > options, working in different way and implying different coding > approaches. And then there's also a third option which is a "compromise" > approach where it is sometimes strict and sometimes not depending on a > matrix of choices, and different matrices would work in different way. > If I agree, for example, that coercive model is helpful - that doesn't > mean I want complete strict typing, and I certainly would prefer none > for now - in hope I would succeed convincing the majority in the future > in the merits of coercive typing approach - than having strict model > implemented now and closing the door for the coercive one forever. So I > don't see how "at least agree" without specifying what we agreeing on > works out. > > > To be more clear: We must get a decision here. I am convinced that > > this is a top requested feature, since very long. Delay it forever > > Is there any data to support this conviction that this is not merely > requested now and then, but it is a *top* requested feature since very > long? Note that none of the languages most close to PHP have it.
Most? Python has it, java too, ruby and perl not. We can continue to list those having them or not, not sure that brings much to this discussion. > Also, I did a poll one on stackoverflow: > > http://programmers.stackexchange.com/questions/27564/what-features-would-you-like-to-have-in-php > > and it's not on top at all, though it is among the requested ones. > However, having no consensus on it, saying "let's get together and make > something" does not look like a good idea to me, because there are > opportunity costs to prematurely having "something" that is not > satisfactory. Everyone I asked wants it, be at conferences, UGs, or devolopers of one of the top tools or framework out there. There was also http://www.php-vote.com/browse/latest showing in the top requests. In any case, this endless discussion leads nowhere and we are not going to have anything done using such debates and arguing. Cheers, -- Pierre