> http://www.calligram.co.uk/oss/Attributes

Whew Duncan! That's *VERY* nice.

Anyways... Annotations (structured comments) vs. Attributes?

Here's my take:

Since annotations are comments, you can remove them without modifying
behavior. However, attributes are actually *needed* since they are
part of the code. If you remove the attributes, you're changing
behavior.

phpDoc comments are... comments! You can remove all comments in your
code and your script will run just as well when they did have
comments.

So, IMHO, attributes != annotations. They're two different beasts, for
different purposes.

-- 
Hendy Irawan
http://www.gauldong.net
http://dev.gauldong.net

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

Reply via email to