Content deleted Content added
Cosmetic change |
|||
Line 1:
'''Role-oriented programming''' is a form of [[programming language|computer programming]] aimed at expressing things in
The main idea of role-oriented programming is that humans think in terms of [[role]]s. This claim is often backed up by examples of [[social relations]]. For example, a student attending a class and the same student at a party are the same person, but yet plays in two different roles. In particular, the interactions of this person with the outside world depends on his current role. The roles typically share features, e.g., the intrinsic properties of being a person. This sharing of properties is often handled by the [[delegation]] mechanism.
|