Content deleted Content added
m Dating maintenance tags: {{Or}} {{Quantify}} |
m Bot: http → https |
||
(13 intermediate revisions by 10 users not shown) | |||
Line 1:
{{Short description|Programming paradigm based on conceptual understanding of objects}}
{{Programming paradigms}}▼
{{Use mdy dates|date=January 2019}}
{{Use American English|date=January 2019}}
'''Role-oriented programming''' as a form of [[programming language|computer programming]] aims at expressing things in terms that are analogous to human [[concept]]ual understanding of the
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, 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_(programming)|delegation]] mechanism.
In the older literature and in the field of [[
| last1 = Carpenter
| first1 = Tom
Line 12 ⟶ 13:
| url = https://books.google.com/books?id=6_mmL45Zw0IC
| series = Sybex Serious Skills
| date = July 18, 2011
| ___location = Indianapolis
| publisher = John Wiley & Sons
Line 18 ⟶ 20:
| isbn = 9781118148693
| access-date = 2018-03-07
| quote = [...] a server role is a set of software programs (services) that enable a server to perform specific functions for users or computers on the network.}}</ref>
Many{{quantify|date=March 2018}} researchers have argued the advantages of roles in [[
==Authors of role literature==
* [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>
* [
* [[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.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/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>
* [
==Programming languages with explicit support for roles==
* [[Cameleon_(programming_language)|Cameleon]]
* [
* [[JavaScript#Delegative|JavaScript Delegation - Functions as Roles (Traits and Mixins)]]
* [
* [[Moose (Perl)#Roles|Perl
* [[
* [http://portal.acm.org/citation.cfm?id=1141277.1141606 powerJava]
* [https://github.com/max-leuthaeuser/SCROLL SCala ROLes Language]
Line 60:
==External links==
* [
* [http://www.iit.edu/~concur/asc/cassservices.html Context Aspect Sensitive Services]
* [
* [
▲{{Programming paradigms navbox}}
{{compu-prog-stub}}
|