in OOP :: Along with the extended RTTI in Delphi 2010, a new language feature was introduced: Attributes. Along with existing OOP mechanisms (inheritance and ownership) you can now use annotations for a class (and class members) to further define what you classes are capable of. Attributes are useful when you want to introduce new behavior to types (objects or record) based on additional information supplied by the annotated attributes.
Read the full article to learn how to Use Attributes to Extend the Normal Object-Oriented Model With Aspect-Oriented Elements.
Related:
Comments
No comments yet. Leave a Comment
