in reply to Function/Method Annotations

Annotations allow you to set properties of methods. After all, in a truly object oriented language, methods and functions should be objects too.

Are the annotations also objects?

Replies are listed 'Best First'.
Re^2: Function/Method Annotations
by TedYoung (Deacon) on May 26, 2006 at 18:45 UTC

    Of course they can be. :-) In Java, for instance, they are anonymous implementations of interfaces. The Perl techniques I use above could easily be extended to make the annotations objects.

    Ted Young

    ($$<<$$=>$$<=>$$<=$$>>$$) always returns 1. :-)