Re: Native Annotation Syntax
| From: | Rowan Collins | Date: | Wed, 25 Nov 2015 17:14:08 +0000 |
| Subject: | Re: Native Annotation Syntax | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-89420@lists.php.net to get a copy of this message | ||
Larry Garfield wrote on 25/11/2015 17:06:
For me, the "sometimes it's code and sometimes it's not, even though it looks the same" argument is sufficient to reject docblocks as a location for annotations.Annotations aren't code, they're metadata, and docblocks already contain metadata; it's just that originally, that metadata was targeted at generating documentation, rather than generating code, or affecting run-time behaviour.