2021-04-24 17:59 GMT+02:00, Saif Eddin Gmati <azj...@void.tn>:
>> Doesn't this violate the principle: It should be possible to add new
>> features without touching old code?
>
> This depends on which syntax is picked, both `for` and attribute syntax will
> be completely BC.

I'm not talking about BC, but the maintainability of the new feature
itself. For the shape example, you'd need to edit the original file
for each new shape you add, which is detrimental for maintainability
and scalability. So what's a good use-case?

Olle

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

Reply via email to