Should hash comments be deprecated?
| From: | Theodore Brown | Date: | Fri, 21 Aug 2020 17:28:07 +0000 |
| Subject: | Should hash comments be deprecated? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-111672@lists.php.net to get a copy of this message | ||
Hi internals,
Since the #[] attribute syntax is currently winning the vote, [1]
it makes me wonder if the use of comments starting with # should be
deprecated.
Otherwise it seems like we could be setting ourselves up for long-term
confusion between attributes and comments, and also inconsistency with
other comments (it will no longer be safe to assume that a line can be
commented out by simply adding # at the beginning).
What do others think?
Theodore
[1]: https://stv-results.theodorejb.me/php/?rfc=shorter_attribute_syntax_change