Role-oriented programming: Difference between revisions

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
imported>Mathnerd314159
change paradigms template to navbox (see Template talk:Programming paradigms#too long)
 
imported>SchlurcherBot
m Bot: http → https
 
Line 27: Line 27:
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/p/Pernici%3ABarbara.html Barbara Pernici]
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/p/Pernici%3ABarbara.html Barbara Pernici]
* [http://www.mip.sdu.dk/people/Staff/bbk.html Bent Bruun Kristensen]<ref>{{cite web |url=http://www.sigmod.org/dblp/db/indices/a-tree/k/Kristensen%3ABent_Bruun.html |url-status=dead |archive-url=https://web.archive.org/web/20070927210129/http://www.sigmod.org/dblp/db/indices/a-tree/k/Kristensen:Bent_Bruun.html |archive-date=September 27, 2007 |title=DBLP: Bent Bruun Kristensen}}</ref>
* [http://www.mip.sdu.dk/people/Staff/bbk.html Bent Bruun Kristensen]<ref>{{cite web |url=http://www.sigmod.org/dblp/db/indices/a-tree/k/Kristensen%3ABent_Bruun.html |url-status=dead |archive-url=https://web.archive.org/web/20070927210129/http://www.sigmod.org/dblp/db/indices/a-tree/k/Kristensen:Bent_Bruun.html |archive-date=September 27, 2007 |title=DBLP: Bent Bruun Kristensen}}</ref>
* [http://existentialprogramming.blogspot.com/search/label/roles Bruce Wallace]
* [https://existentialprogramming.blogspot.com/search/label/roles Bruce Wallace]
* [[Charles Bachman]]<ref>{{cite web |url=http://www.computerhistory.org/events/lectures/bachman_04162002/bachman.shtml |title=Computer History Museum - Lectures - Charles W. (Charlie) Bachman |access-date=2013-01-03 |url-status=dead |archive-url=https://web.archive.org/web/20130103023948/http://www.computerhistory.org/events/lectures/bachman_04162002/bachman.shtml |archive-date=2013-01-03 }}</ref>
* [[Charles Bachman]]<ref>{{cite web |url=http://www.computerhistory.org/events/lectures/bachman_04162002/bachman.shtml |title=Computer History Museum - Lectures - Charles W. (Charlie) Bachman |access-date=2013-01-03 |url-status=dead |archive-url=https://web.archive.org/web/20130103023948/http://www.computerhistory.org/events/lectures/bachman_04162002/bachman.shtml |archive-date=2013-01-03 }}</ref>
* [http://www.kbs.uni-hannover.de/~steimann/ Friedrich Steimann]
* [http://www.kbs.uni-hannover.de/~steimann/ Friedrich Steimann]
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/g/Gottlob%3AGeorg.html Georg Gottlob]
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/g/Gottlob%3AGeorg.html Georg Gottlob]
* [http://www.itu.dk/people/kbilsted/ Kasper B. Graversen]
* [https://www.itu.dk/people/kbilsted/ Kasper B. Graversen]
* [http://www.itu.dk/people/kasper/ Kasper Østerbye]
* [https://www.itu.dk/people/kasper/ Kasper Østerbye]
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/h/Herrmann%3AStephan.html Stephan Herrmann]
* [http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/h/Herrmann%3AStephan.html Stephan Herrmann]
* [[Trygve Reenskaug]]<ref>{{cite web |url=http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/r/Reenskaug%3ATrygve.html |title = dblp: Trygve Reenskaug}}</ref>
* [[Trygve Reenskaug]]<ref>{{cite web |url=http://www.informatik.uni-trier.de/~ley/db/indices/a-tree/r/Reenskaug%3ATrygve.html |title = dblp: Trygve Reenskaug}}</ref>
* [http://wwwpub.zih.tu-dresden.de/~s4560758/ Thomas Kühn]
* [https://wwwpub.zih.tu-dresden.de/~s4560758/ Thomas Kühn]


==Programming languages with explicit support for roles==
==Programming languages with explicit support for roles==
Line 41: Line 41:
* [https://www.eclipse.org/epsilon/ EpsilonJ]
* [https://www.eclipse.org/epsilon/ EpsilonJ]
* [[JavaScript#Delegative|JavaScript Delegation - Functions as Roles (Traits and Mixins)]]
* [[JavaScript#Delegative|JavaScript Delegation - Functions as Roles (Traits and Mixins)]]
* [http://www.eclipse.org/objectteams Object Teams]
* [https://www.eclipse.org/objectteams Object Teams]
* [[Moose (Perl)#Roles|Perl (Moose)]]
* [[Moose (Perl)#Roles|Perl (Moose)]]
* [[Raku (programming language)#Roles|Raku]]
* [[Raku (programming language)#Roles|Raku]]
Line 62: Line 62:
* [https://web.archive.org/web/20060910101027/http://ftp.ccs.neu.edu/pub/people/lieber/appcs.pdf Adaptive Plug-and-Play Components for Evolutionary Software Development], by Mira Mezini and Karl Lieberherr
* [https://web.archive.org/web/20060910101027/http://ftp.ccs.neu.edu/pub/people/lieber/appcs.pdf Adaptive Plug-and-Play Components for Evolutionary Software Development], by Mira Mezini and Karl Lieberherr
* [http://www.iit.edu/~concur/asc/cassservices.html Context Aspect Sensitive Services]
* [http://www.iit.edu/~concur/asc/cassservices.html Context Aspect Sensitive Services]
* [http://www.itu.dk/people/kbilsted/graversen06thesis.pdf Overview and taxonomy of Role languages]
* [https://www.itu.dk/people/kbilsted/graversen06thesis.pdf Overview and taxonomy of Role languages]
* [http://doi.ieeecomputersociety.org/10.1109/COOPIS.1999.792181 ROPE: Role Oriented Programming Environment for Multiagent Systems]
* [https://doi.ieeecomputersociety.org/10.1109/COOPIS.1999.792181 ROPE: Role Oriented Programming Environment for Multiagent Systems]


{{Programming paradigms navbox}}
{{Programming paradigms navbox}}

Latest revision as of 11:01, 8 August 2025

Template:Short description Script error: No such module "Unsubst". Template:Use American English

Role-oriented programming as a form of computer programming aims at expressing things in terms that are analogous to human conceptual understanding of the world. This should make programs easier to understand and maintain.Script error: No such module "Unsubst".

The main idea of role-oriented programming is that humans think in terms of roles. 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, yet that person plays two different roles. In particular, the interactions of this person with the outside world depend 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.

In the older literature and in the field of databases, it seemsTemplate:Or that there has been little consideration for the context in which roles interplay with each other. Such a context is being established in newer role- and aspect-oriented programming languages such as Object Teams. Compare the use of "role" as "a set of software programs (services) that enable a server to perform specific functions for users or computers on the network" in Windows Server jargon.[1]

ManyScript error: No such module "Unsubst". researchers have argued the advantages of roles in modeling and implementation. Roles allow objects to evolve over time, they enable independent and concurrently existing views (interfaces) of the object, explicating the different contexts of the object, and separating concerns. Generally roles are a natural element of human daily concept-forming. Roles in programming languages enable objects to have changing interfaces, as we see in real life - things change over time, are used differently in different contexts, etc.

Authors of role literature

Programming languages with explicit support for roles

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".

External links

Template:Programming paradigms navbox Template:Asbox