Re: Annotation PHP 7
| From: | Lester Caine | Date: | Tue, 04 Nov 2014 21:11:58 +0000 |
| Subject: | Re: Annotation PHP 7 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-78683@lists.php.net to get a copy of this message | ||
On 04/11/14 20:18, guilhermeblanco@gmail.com wrote:
> Primarily, I do not see docblocks as the right place to store class'
> metadata information. Metadata != Comments.
We use comment wrappers in many places to hide secondary material from
other processes. Just rename docblocks -> metadata ... what is the
problem? Now expand the docblock key words and one does not have to
worry about clashes as it's all ring fenced.
Is the material needed at runtime? In which case 'minimize' can strip it
all. I can even see a case for /** being treated differently to /* and
// blocks if needs be.
--
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk