On 20 ????? 2016, at 1:10, Marco Pivetta <ocram...@gmail.com<mailto:ocram...@gmail.com>> wrote:
On 19 April 2016 at 23:47, Zeev Suraski <z...@zend.com<mailto:z...@zend.com>> wrote: I fail to see how adding C++ templates to PHP takes it to the next level in anything but the complexity scale. Not having them is not preventing anybody from doing anything today. Sure, a bunch of frameworks would adopt them once they become available - but it will not enable them to do things that are radically different from what they're doing today. And the fact that you fail to see it is why you don't see any advantages, but that's because you are likely unfamiliar with most recent tooling around static introspection. Saying that a given feature will not take PHP to the next level is not at all the same as saying I don't see any advantages. I did not say the latter, and I stand behind the former. As I said, I'm sure frameworks would use it and there are obviously some valid use cases for it, but it won't change the way the vast majority of people develop code. Forget for a minute whether we should or shouldn't add it - this is not a make or break feature for PHP. Zeev