On 09/16/2010 11:44 AM, Stas Malyshev wrote:
> Hi!
> 
>> Again, we should not consider docblock mainly because I think
>> adding/removing comments of your code should NEVER modify the overall
>> functionality of your application.
> 
> It's a circular argument - "we can't use docblocks because docblocks
> shouldn't be used". They are not "comments" if you don't use them as
> comments.

Overloading comment syntax to modify application functionality is the
worst idea I've seen suggested on this list. This beats goto by miles.

We would then need a new comment syntax to comment out annotations. Just
for annotations.

Adding/removing/changing comments suddenly has an impact on
functionality. Sometimes. If the comment is really an annotation.
Despite it looking exactly like comments have looked for years.

"Why's my stuff broke? That stack trace leads me through... a
docblock?!? Wait, that comment I updated wasn't really a comment, it
just looked like one? Oh hell, that other comment I added got mistaken
for an annotation? WTF?"

This is supposed to be *less* confusing for people?



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to