Re: [VOTE] Shorter Attribute Syntax Change
| From: | Markus Fischer | Date: | Mon, 10 Aug 2020 13:05:27 +0000 |
| Subject: | Re: [VOTE] Shorter Attribute Syntax Change | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111424@lists.php.net to get a copy of this message | ||
On 10.08.20 13:32, Jordi Boggiano wrote:
https://gist.github.com/Seldaek/b7a3bd28920c6cc181e67a829b13a81cThis is really really useful! However I suggest to look at the raw text rather, because the highlighting is unaware of the syntax and may bias "how it feels to look at it" (*): https://gist.githubusercontent.com/Seldaek/b7a3bd28920c6cc181e67a829b13a81c/raw/ccb612d2547c99fe69d1bf09138efae22b956b37/attributes.php Personally, and never gave it much thought TBH, the
@@ AND <</>> in fact is the most "unreadable" version to me because duplicate occurrence of a single character somehow creates a noise _for me_,
I don't feel eligible to have a vote, but based on that and certainly aware IDEs in the future will help with this, I would vote for _anything_ not duplicating characters, i.e. favoring #[] or @[]
:-}
- Markus
(*) Apologies for lack of words trying to describe my thoughts