On 07/08/2022 22:48, Larry Garfield wrote:
Something like public private:set (colon instead of parens) would work just as 
well, if the () are confusing somehow, but that doesn't feel like a common 
problem.  And it would lose the parallelism with Swift.


I wonder if the reasoning for Swift's syntax choice is publicly available, or if there's anyone with inside knowledge we could ask. It would be good to know if there's a compelling argument the RFC could mention, or if it was actually chosen for reasons that don't apply to PHP.

Regards,

--
Rowan Tommins
[IMSoP]

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

Reply via email to