Re: [RFC] Asymmetric visibility
| From: | Rowan Tommins | Date: | Mon, 08 Aug 2022 10:22:24 +0000 |
| Subject: | Re: [RFC] Asymmetric visibility | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-118388@lists.php.net to get a copy of this message | ||
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]