Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Authors of role literature  





2 Programming languages with explicit support for roles  





3 See also  





4 References  





5 External links  














Role-oriented programming






Magyar
Српски / srpski
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


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.[citation needed]

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 seems[original research?] 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]

Many[quantify] 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

[edit]

Programming languages with explicit support for roles

[edit]

See also

[edit]

References

[edit]
  1. ^ Carpenter, Tom (July 18, 2011). Microsoft Windows Server Administration Essentials. Sybex Serious Skills. Indianapolis: John Wiley & Sons (published 2011). p. 9. ISBN 9781118148693. Retrieved March 7, 2018. [...] 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.
  • ^ "DBLP: Bent Bruun Kristensen". Archived from the original on September 27, 2007.
  • ^ "Computer History Museum - Lectures - Charles W. (Charlie) Bachman". Archived from the original on January 3, 2013. Retrieved January 3, 2013.
  • ^ "dblp: Trygve Reenskaug".
  • [edit]
  • t
  • e

  • Retrieved from "https://en.wikipedia.org/w/index.php?title=Role-oriented_programming&oldid=1202035334"

    Categories: 
    Computer programming stubs
    Object-based programming languages
    Programming paradigms
    Hidden categories: 
    Articles with short description
    Short description matches Wikidata
    Use mdy dates from January 2019
    Use American English from January 2019
    All Wikipedia articles written in American English
    All articles with unsourced statements
    Articles with unsourced statements from August 2016
    All articles that may contain original research
    Articles that may contain original research from March 2018
    Articles with unsourced statements from March 2018
    All stub articles
     



    This page was last edited on 1 February 2024, at 22:24 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki