Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1 KB

OOP.md

File metadata and controls

27 lines (19 loc) · 1 KB

OOP features that must be supported by underlying language

  1. Obvious things

Objects/classes, fields (a.k.a. member variables), methods (a.k.a. member functions), subtype polymorphism and dynamic dispatch.

  1. Getting/setting/calling member by name

  1. Properties

  1. Property typing

  1. Property attributes/annotations

  1. Some way to extend class with new locally-visible properties and methods

?. Indexed/parameterized properties, or something like method attributes/annotations

?. Some way to extend attributed/annotated item with new locally-visible attributes/annotations