Object-oriented programming explained

Object-oriented programming (OOP) is a programming paradigm based on the concept of objects, which can contain data and code: data in the form of fields (often known as attributes or properties), and code in the form of procedures (often known as methods). In OOP, computer programs are designed by making them out of objects that interact with one another.[1] [2]

Many of the most widely used programming languages (such as C++, Java, Python, etc.) are multi-paradigm and they support object-oriented programming to a greater or lesser degree, typically in combination with imperative programming, procedural programming and functional programming.

Significant object-oriented languages include Ada, ActionScript, C++, Common Lisp, C#, Dart, Eiffel, Fortran 2003, Haxe, Java, Kotlin, Logo, MATLAB, Objective-C, Object Pascal, Perl, PHP, Python, R, Raku, Ruby, Scala, SIMSCRIPT, Simula, Smalltalk, Swift, Vala and Visual Basic.NET.

History

Terminology invoking "objects" in the modern sense of object-oriented programming made its first appearance at the artificial intelligence group at MIT in the late 1950s and early 1960s. "Object" referred to LISP atoms with identified properties (attributes).[3] [4] Another early MIT example was Sketchpad created by Ivan Sutherland in 1960–1961; in the glossary of the 1963 technical report based on his dissertation about Sketchpad, Sutherland defined notions of "object" and "instance" (with the class concept covered by "master" or "definition"), albeit specialized to graphical interaction.[5] Also, in 1968, an MIT ALGOL version, AED-0, established a direct link between data structures ("plexes", in that dialect) and procedures, prefiguring what were later termed "messages", "methods", and "member functions".[6] [7] Topics such as data abstraction and modular programming were common points of discussion at this time.

Independently of later MIT work such as AED, Simula was developed during the years 1961–1967.[6] Simula introduced important concepts that are today an essential part of object-oriented programming, such as class and object, inheritance, and dynamic binding.[8] The object-oriented Simula programming language was used mainly by researchers involved with physical modelling, such as models to study and improve the movement of ships and their content through cargo ports.[8]

Influenced by the work at MIT and the Simula language, in November 1966 Alan Kay began working on ideas that would eventually be incorporated into the Smalltalk programming language. Kay used the term "object-oriented programming" in conversation as early as 1967. Although sometimes called "the father of object-oriented programming",[9] Alan Kay has differentiated his notion of OO from the more conventional abstract data type notion of object, and has implied that the computer science establishment did not adopt his notion.[10] A 1976 MIT memo co-authored by Barbara Liskov lists Simula 67, CLU, and Alphard as object-oriented languages, but does not mention Smalltalk.[11]

In the 1970s, the first version of the Smalltalk programming language was developed at Xerox PARC by Alan Kay, Dan Ingalls and Adele Goldberg. Smalltalk-72 included a programming environment and was dynamically typed, and at first was interpreted, not compiled.Smalltalk became noted for its application of object orientation at the language-level and its graphical development environment. Smalltalk went through various versions and interest in the language grew.[12] While Smalltalk was influenced by the ideas introduced in Simula 67 it was designed to be a fully dynamic system in which classes could be created and modified dynamically.[13]

During the late 1970s and 1980s, object-oriented programming rose to prominence. The Flavors object-oriented Lisp was developed starting 1979, introducing multiple inheritance and mixins.[14] In 1981, Goldberg edited the August issue of Byte Magazine, introducing Smalltalk and object-oriented programming to a wide audience.[15] LOOPS, the object system for Interlisp-D, was influenced by Smalltalk and Flavors, and a paper about it was published in 1982.[16] In 1986, the Association for Computing Machinery organized the first Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA), which was attended by 1,000 people. Among other developments was the Common Lisp Object System, which integrates functional programming and object-oriented programming and allows extension via a Meta-object protocol. In the 1980s, there were a few attempts to design processor architectures that included hardware support for objects in memory but these were not successful. Examples include the Intel iAPX 432 and the Linn Smart Rekursiv.

In the mid-1980s Objective-C was developed by Brad Cox, who had used Smalltalk at ITT Inc.. Bjarne Stroustrup, who had used Simula for his PhD thesis, created the object-oriented C++.[12] In 1985, Bertrand Meyer also produced the first design of the Eiffel language. Focused on software quality, Eiffel is a purely object-oriented programming language and a notation supporting the entire software lifecycle. Meyer described the Eiffel software development method, based on a small number of key ideas from software engineering and computer science, in Object-Oriented Software Construction. Essential to the quality focus of Eiffel is Meyer's reliability mechanism, design by contract, which is an integral part of both the method and language.

In the early and mid-1990s object-oriented programming developed as the dominant programming paradigm when programming languages supporting the techniques became widely available. These included Visual FoxPro 3.0,[17] [18] [19] C++,[20] and Delphi. Its dominance was further enhanced by the rising popularity of graphical user interfaces, which rely heavily upon object-oriented programming techniques. An example of a closely related dynamic GUI library and OOP language can be found in the Cocoa frameworks on Mac OS X, written in Objective-C, an object-oriented, dynamic messaging extension to C based on Smalltalk. OOP toolkits also enhanced the popularity of event-driven programming (although this concept is not limited to OOP).

At ETH Zürich, Niklaus Wirth and his colleagues investigated the concept of type checking across module boundaries. Modula-2 (1978) included this concept, and their succeeding design, Oberon (1987), included a distinctive approach to object orientation, classes, and such. Inheritance is not obvious in Wirth's design since his nomenclature looks in the opposite direction: It is called type extension and the viewpoint is from the parent down to the inheritor.

Object-oriented features have been added to many previously existing languages, including Ada, BASIC, Fortran, Pascal, and COBOL. Adding these features to languages that were not initially designed for them often led to problems with compatibility and maintainability of code.

More recently, some languages have emerged that are primarily object-oriented, but that are also compatible with procedural methodology. Two such languages are Python and Ruby. Probably the most commercially important recent object-oriented languages are Java, developed by Sun Microsystems, as well as C# and Visual Basic.NET (VB.NET), both designed for Microsoft's .NET platform. Each of these two frameworks shows, in its way, the benefit of using OOP by creating an abstraction from implementation. VB.NET and C# support cross-language inheritance, allowing classes defined in one language to subclass classes defined in the other language.

Features

See also: Comparison of programming languages (object-oriented programming) and List of object-oriented programming terms. Object-oriented programming uses objects, but not all of the associated techniques and structures are supported directly in languages that claim to support OOP. The features listed below are common among languages considered to be strongly class- and object-oriented (or multi-paradigm with OOP support), with notable exceptions mentioned.[21] [22] [23] [24] Christopher J. Date stated that critical comparison of OOP to other technologies, relational in particular, is difficult because of lack of an agreed-upon and rigorous definition of OOP.[25]

Shared with non-OOP languages

Modular programming support provides the ability to group procedures into files and modules for organizational purposes. Modules are namespaced so identifiers in one module will not conflict with a procedure or variable sharing the same name in another file or module.

Objects

See main article: Object (computer science).

An object is a data structure or abstract data type containing fields (state variables containing data) and methods (subroutines or procedures defining the object's behavior in code). Fields may also be known as members, attributes, or properties. Objects are typically stored as contiguous regions of memory. Objects are accessed somewhat like variables with complex internal structures, and in many languages are effectively pointers, serving as actual references to a single instance of said object in memory within a heap or stack.

Objects sometimes correspond to things found in the real world.[26] For example, a graphics program may have objects such as "circle", "square", and "menu". An online shopping system might have objects such as "shopping cart", "customer", and "product". Sometimes objects represent more abstract entities, like an object that represents an open file, or an object that provides the service of translating measurements from U.S. customary to metric.

Objects can contain other objects in their instance variables; this is known as object composition. For example, an object in the Employee class might contain (either directly or through a pointer) an object in the Address class, in addition to its own instance variables like "first_name" and "position". Object composition is used to represent "has-a" relationships: every employee has an address, so every Employee object has access to a place to store an Address object (either directly embedded within itself or at a separate location addressed via a pointer). Date and Darwen have proposed a theoretical foundation that uses OOP as a kind of customizable type system to support RDBMS, but it forbids object pointers.[27]

The OOP paradigm has been criticized for overemphasizing the use of objects for software design and modeling at the expense of other important aspects (computation/algorithms). For example, Rob Pike has said that OOP languages frequently shift the focus from data structures and algorithms to types.[28] Steve Yegge noted that, as opposed to functional programming:[29]

Rich Hickey, creator of Clojure, described object systems as overly simplistic models of the real world. He emphasized the inability of OOP to model time properly, which is getting increasingly problematic as software systems become more concurrent.[30]

Alexander Stepanov compares object orientation unfavourably to generic programming:[31]

Inheritance

OOP languages are diverse, but typically OOP languages allow inheritance for code reuse and extensibility in the form of either classes or prototypes. These forms of inheritance are significantly different, but analogous terminology is used to define the concepts of object and instance.

Class-based

In class-based programming, the most popular style, each object is required to be an instance of a particular class. The class defines the data format or type (including member variables and their types) and available procedures (class methods or member functions) for a given type or class of object. Objects are created by calling a special type of method in the class known as a constructor. Classes may inherit from other classes, so they are arranged in a hierarchy that represents "is-a-type-of" relationships. For example, class Employee might inherit from class Person. All the data and methods available to the parent class also appear in the child class with the same names. For example, class Person might define variables "first_name" and "last_name" with method "make_full_name". These will also be available in class Employee, which might add the variables "position" and "salary". It is guaranteed that all instances of class Employee will have the same variables, such as the name, position, and salary. Procedures and variables can be specific to either the class or the instance; this leads to the following terms:

Depending on the definition of the language, subclasses may or may not be able to override the methods defined by superclasses. Multiple inheritance is allowed in some languages, though this can make resolving overrides complicated. Some languages have special support for other concepts like traits and mixins, though, in any language with multiple inheritance, a mixin is simply a class that does not represent an is-a-type-of relationship. Mixins are typically used to add the same methods to multiple classes. For example, class UnicodeConversionMixin might provide a method unicode_to_ascii when included in class FileReader and class WebPageScraper, which do not share a common parent.

Abstract classes cannot be instantiated into objects; they exist only for inheritance into other "concrete" classes that can be instantiated. In Java, the [[final (Java)|final]] keyword can be used to prevent a class from being subclassed.

Prototype-based

In contrast, in prototype-based programming, objects are the primary entities. Generally, the concept of a "class" does not even exist. Rather, the prototype or parent of an object is just another object to which the object is linked. In Self, an object may have multiple or no parents,[32] but in the most popular prototype-based language, Javascript, every object has one prototype link (and only one). New objects can be created based on already existing objects chosen as their prototype. You may call two different objects apple and orange a fruit if the object fruit exists, and both apple and orange have fruit as their prototype. The idea of the fruit class does not exist explicitly, but can be modeled as the equivalence class of the objects sharing the same prototype, or as the set of objects satisfying a certain interface (duck typing). Unlike class-based programming, it is typically possible in prototype-based languages to define attributes and methods not shared with other objects; for example, the attribute sugar_content may be defined in apple but not orange.

Absence

Some languages like Go do not support inheritance at all. Go states that it is object-oriented,[33] and Bjarne Stroustrup, author of C++, has stated that it is possible to do OOP without inheritance.[34] The doctrine of composition over inheritance advocates implementing has-a relationships using composition instead of inheritance. For example, instead of inheriting from class Person, class Employee could give each Employee object an internal Person object, which it then has the opportunity to hide from external code even if class Person has many public attributes or methods. Delegation is another language feature that can be used as an alternative to inheritance.

Rob Pike has criticized the OO mindset for preferring a multilevel type hierarchy with layered abstractions to a three-line lookup table.[35] He has called object-oriented programming "the Roman numerals of computing".[36]

Bob Martin states that because they are software, related classes do not necessarily share the relationships of the things they represent.[37]

Dynamic dispatch/message passing

It is the responsibility of the object, not any external code, to select the procedural code to execute in response to a method call, typically by looking up the method at run time in a table associated with the object. This feature is known as dynamic dispatch. If the call variability relies on more than the single type of the object on which it is called (i.e. at least one other parameter object is involved in the method choice), one speaks of multiple dispatch. A method call is also known as message passing. It is conceptualized as a message (the name of the method and its input parameters) being passed to the object for dispatch.

Dispatch interacts with inheritance; if a method is not present in a given object or class, the dispatch is delegated to its parent object or class, and so on, going up the chain of inheritance.

Data abstraction and encapsulation

Data abstraction is a design pattern in which data are visible only to semantically related functions, to prevent misuse. The success of data abstraction leads to frequent incorporation of data hiding as a design principle in object-oriented and pure functional programming. Similarly, encapsulation prevents external code from being concerned with the internal workings of an object. This facilitates code refactoring, for example allowing the author of the class to change how objects of that class represent their data internally without changing any external code (as long as "public" method calls work the same way). It also encourages programmers to put all the code that is concerned with a certain set of data in the same class, which organizes it for easy comprehension by other programmers. Encapsulation is a technique that encourages decoupling.

In object oriented programming, objects provide a layer which can be used to separate internal from external code and implement abstraction and encapsulation. External code can only use an object by calling a specific instance method with a certain set of input parameters, reading an instance variable, or writing to an instance variable. A program may create many instances of objects as it runs, which operate independently. This technique, it is claimed, allows easy re-use of the same procedures and data definitions for different sets of data, in addition to potentially mirroring real-world relationships intuitively. Rather than utilizing database tables and programming subroutines, the developer utilizes objects the user may be more familiar with: objects from their application domain.[38] These claims that the OOP paradigm enhances reusability and modularity have been criticized.

If a class does not allow calling code to access internal object data and permits access through methods only, this is also a form of information hiding. Some languages (Java, for example) let classes enforce access restrictions explicitly, for example, denoting internal data with the private keyword and designating methods intended for use by code outside the class with the public keyword. Methods may also be designed public, private, or intermediate levels such as protected (which allows access from the same class and its subclasses, but not objects of a different class). In other languages (like Python) this is enforced only by convention (for example, private methods may have names that start with an underscore). In C#, Swift & Kotlin languages, internal keyword permits access only to files present in the same assembly, package, or module as that of the class.[39]

In programming languages, particularly object-oriented ones, the emphasis on abstraction is vital. Object-oriented languages extend the notion of type to incorporate data abstraction, highlighting the significance of restricting access to internal data through methods.[40] Eric S. Raymond has written that object-oriented programming languages tend to encourage thickly layered programs that destroy transparency.[41] Raymond compares this unfavourably to the approach taken with Unix and the C programming language.[41]

The "open/closed principle" advocates that classes and functions "should be open for extension, but closed for modification". Luca Cardelli has claimed that OOP languages have "extremely poor modularity properties with respect to class extension and modification", and tend to be extremely complex. The latter point is reiterated by Joe Armstrong, the principal inventor of Erlang, who is quoted as saying:[42]

Leo Brodie has suggested a connection between the standalone nature of objects and a tendency to duplicate code[43] in violation of the don't repeat yourself principle[44] of software development.

Polymorphism

Subtyping – a form of polymorphism – is when calling code can be independent of which class in the supported hierarchy it is operating on – the parent class or one of its descendants. Meanwhile, the same operation name among objects in an inheritance hierarchy may behave differently.

For example, objects of the type Circle and Square are derived from a common class called Shape. The Draw function for each type of Shape implements what is necessary to draw itself while calling code can remain indifferent to the particular type of Shape being drawn.

This is another type of abstraction that simplifies code external to the class hierarchy and enables strong separation of concerns.

Open recursion

A common feature of objects is that methods are attached to them and can access and modify the object's data fields. In this brand of OOP, there is usually a special name such as or used to refer to the current object. In languages that support open recursion, object methods can call other methods on the same object (including themselves) using this name. This variable is late-bound; it allows a method defined in one class to invoke another method that is defined later, in some subclass thereof.

OOP languages

See also: List of object-oriented programming languages.

Simula (1967) is generally accepted as being the first language with the primary features of an object-oriented language. It was created for making simulation programs, in which what came to be called objects were the most important information representation. Smalltalk (1972 to 1980) is another early example and the one with which much of the theory of OOP was developed. Concerning the degree of object orientation, the following distinctions can be made:

Popularity and reception

Many widely used languages, such as C++, Java, and Python, provide object-oriented features. Although in the past object-oriented programming was widely accepted,[46] more recently essays criticizing object-oriented programming and recommending the avoidance of these features (generally in favor of functional programming) have been very popular in the developer community.[47] Paul Graham has suggested that OOP's popularity within large companies is due to "large (and frequently changing) groups of mediocre programmers". According to Graham, the discipline imposed by OOP prevents any one programmer from "doing too much damage".[48] Eric S. Raymond, a Unix programmer and open-source software advocate, has been critical of claims that present object-oriented programming as the "One True Solution".[41]

Richard Feldman argues that these languages may have improved their modularity by adding OO features, but they became popular for reasons other than being object-oriented.[49] In an article, Lawrence Krubner claimed that compared to other languages (LISP dialects, functional languages, etc.) OOP languages have no unique strengths, and inflict a heavy burden of unneeded complexity.[50] A study by Potok et al. has shown no significant difference in productivity between OOP and procedural approaches.[51] Luca Cardelli has claimed that OOP code is "intrinsically less efficient" than procedural code and that OOP can take longer to compile.[52]

OOP in dynamic languages

In recent years, object-oriented programming has become especially popular in dynamic programming languages. Python, PowerShell, Ruby and Groovy are dynamic languages built on OOP principles, while Perl and PHP have been adding object-oriented features since Perl 5 and PHP 4, and ColdFusion since version 6.

The Document Object Model of HTML, XHTML, and XML documents on the Internet has bindings to the popular JavaScript/ECMAScript language. JavaScript is perhaps the best known prototype-based programming language, which employs cloning from prototypes rather than inheriting from a class (contrast to class-based programming). Another scripting language that takes this approach is Lua.

OOP in a network protocol

The messages that flow between computers to request services in a client-server environment can be designed as the linearizations of objects defined by class objects known to both the client and the server. For example, a simple linearized object would consist of a length field, a code point identifying the class, and a data value. A more complex example would be a command consisting of the length and code point of the command and values consisting of linearized objects representing the command's parameters. Each such command must be directed by the server to an object whose class (or superclass) recognizes the command and can provide the requested service. Clients and servers are best modeled as complex object-oriented structures. Distributed Data Management Architecture (DDM) took this approach and used class objects to define objects at four levels of a formal hierarchy:

The initial version of DDM defined distributed file services. It was later extended to be the foundation of Distributed Relational Database Architecture (DRDA).

Design patterns

One way to address challenges of object-oriented design is via design patterns which are solution patterns to commonly occurring problems in software design. Some of these commonly occurring problems have implications and solutions particular to object-oriented development.

Object patterns

The following are notable software design patterns for OOP objects.[53]

with a single method (in C++, the function operator, operator) it acts much like a function

does not change state after creation

can be used without restriction

contains other objects

creates other objects

from which other objects can be created (compare with a class, which is not necessarily an object)

a specialized metaobject from which other objects can be created by copying

only instance of its class for the lifetime of the program

receives a stream of data as its input and transforms it into the object's output

As an example of an object anti-pattern, the God object knows or does too much.

Inheritance and behavioral subtyping

It is intuitive to assume that inheritance creates a semantic "is a" relationship, and thus to infer that objects instantiated from subclasses can always be safely used instead of those instantiated from the superclass. This intuition is unfortunately false in most OOP languages, in particular in all those that allow mutable objects. Subtype polymorphism as enforced by the type checker in OOP languages (with mutable objects) cannot guarantee behavioral subtyping in any context. Behavioral subtyping is undecidable in general, so it cannot be implemented by a program (compiler). Class or object hierarchies must be carefully designed, considering possible incorrect uses that cannot be detected syntactically. This issue is known as the Liskov substitution principle.

Gang of Four design patterns

See main article: Design pattern (computer science). is an influential book published in 1994 by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides, often referred to humorously as the "Gang of Four". Along with exploring the capabilities and pitfalls of object-oriented programming, it describes 23 common programming problems and patterns for solving them.

The book describes the following patterns:

Object-orientation and databases

See main article: Object-relational impedance mismatch, Object-relational mapping and Object database. Both object-oriented programming and relational database management systems (RDBMSs) are extremely common in software . Since relational databases do not store objects directly (though some RDBMSs have object-oriented features to approximate this), there is a general need to bridge the two worlds. The problem of bridging object-oriented programming accesses and data patterns with relational databases is known as object-relational impedance mismatch. There are some approaches to cope with this problem, but no general solution without downsides.[54] One of the most common approaches is object-relational mapping, as found in IDE languages such as Visual FoxPro and libraries such as Java Data Objects and Ruby on Rails' ActiveRecord.

There are also object databases that can be used to replace RDBMSs, but these have not been as technically and commercially successful as RDBMSs.

Real-world modeling and relationships

OOP can be used to associate real-world objects and processes with digital counterparts. However, not everyone agrees that OOP facilitates direct real-world mapping or that real-world mapping is even a worthy goal; Bertrand Meyer argues in Object-Oriented Software Construction that a program is not a model of the world but a model of some part of the world; "Reality is a cousin twice removed". At the same time, some principal limitations of OOP have been noted.[55] For example, the circle-ellipse problem is difficult to handle using OOP's concept of inheritance.

However, Niklaus Wirth (who popularized the adage now known as Wirth's law: "Software is getting slower more rapidly than hardware becomes faster") said of OOP in his paper, "Good Ideas through the Looking Glass", "This paradigm closely reflects the structure of systems in the real world and is therefore well suited to model complex systems with complex behavior"[56] (contrast KISS principle).

Steve Yegge and others noted that natural languages lack the OOP approach of strictly prioritizing things (objects/nouns) before actions (methods/verbs).[57] This problem may cause OOP to suffer more convoluted solutions than procedural programming.[58]

OOP and control flow

OOP was developed to increase the reusability and maintainability of source code.[59] Transparent representation of the control flow had no priority and was meant to be handled by a compiler. With the increasing relevance of parallel hardware and multithreaded coding, developing transparent control flow becomes more important, something hard to achieve with OOP.[60] [61] [62] [63]

Responsibility- vs. data-driven design

Responsibility-driven design defines classes in terms of a contract, that is, a class should be defined around a responsibility and the information that it shares. This is contrasted by Wirfs-Brock and Wilkerson with data-driven design, where classes are defined around the data-structures that must be held. The authors hold that responsibility-driven design is preferable.

SOLID and GRASP guidelines

SOLID is a mnemonic invented by Michael Feathers which spells out five software engineering design principles:

GRASP (General Responsibility Assignment Software Patterns) is another set of guidelines advocated by Craig Larman.

Formal semantics

See also: Formal semantics of programming languages. Objects are the run-time entities in an object-oriented system. They may represent a person, a place, a bank account, a table of data, or any item that the program has to handle.

There have been several attempts at formalizing the concepts used in object-oriented programming. The following concepts and constructs have been used as interpretations of OOP concepts:

Attempts to find a consensus definition or theory behind objects have not proven very successful (however, see Abadi & Cardelli, A Theory of Objects[65] for formal definitions of many OOP concepts and constructs), and often diverge widely. For example, some definitions focus on mental activities, and some on program structuring. One of the simpler definitions is that OOP is the act of using "map" data structures or arrays that can contain functions and pointers to other maps, all with some syntactic and scoping sugar on top. Inheritance can be performed by cloning the maps (sometimes called "prototyping").

Systems

Modeling languages

See also

Further reading

External links

Notes and References

  1. Kindler . E. . Krivy . I. . Object-Oriented Simulation of systems with sophisticated control . International Journal of General Systems . 2011 . 40 . 3 . 313–343. 10.1080/03081079.2010.539975 .
  2. Book: Lewis. John. Loftus. William. Java Software Solutions Foundations of Programming Design 6th ed. Pearson Education Inc.. 2008. 978-0-321-53205-3., section 1.6 "Object-Oriented Programming"
  3. McCarthy . J. . Brayton . R. . Robert Brayton (computer scientist) . Edwards . D. . Daniel Edwards (programmer) . Fox . P. . Phyllis Fox . Hodes . L. . Louis Hodes . Luckham . D. . David Luckham . Maling . K. . Klim Maling (programmer) . Park . D. . David Park (computer scientist) . Russell . S. . Steve Russell (computer scientist) . March 1969 . LISP I Programmers Manual . dead . Computation Center and Research Laboratory of Electronics . Artificial Intelligence Group, M.I.T. Computation Center and Research Laboratory . 88f . https://web.archive.org/web/20100717111134/http://history.siam.org/sup/Fox_1960_LISP.pdf . 17 July 2010 . In the local M.I.T. patois, association lists [of atomic symbols] are also referred to as "property lists", and atomic symbols are sometimes called "objects". . Boston, Massachusetts.
  4. Book: LISP 1.5 Programmer's Manual . . John . McCarthy . John McCarthy (computer scientist) . Paul W. . Abrahams . Daniel J. . Edwards . Daniel Edwards (programmer) . swapnil d. . Hart . Michael I. . Levin . 978-0-262-13011-0 . 1962 . 105 . Object — a synonym for atomic symbol . dmy-all.
  5. Ivan E. Sutherland. Sketchpad: a man-machine graphical communication system. AFIPS '63 (Spring): Proceedings of the May 21–23, 1963 Spring Joint Computer Conference. AFIPS Press. May 1963. 329–346. 10.1145/1461551.1461591. free.
  6. The development of the SIMULA languages. Kristen Nygaard. Ole-Johan Dahl. ACM SIGPLAN Notices. 13. 8. 245–272. 10.1145/960118.808391. free. August 1, 1978.
  7. Web site: Ross . Doug . The first software engineering language . LCS/AI Lab Timeline . MIT Computer Science and Artificial Intelligence Laboratory . 13 May 2010 .
  8. Holmevik. Jan Rune. Compiling Simula: A historical study of technological genesis. IEEE Annals of the History of Computing. 16. 4. 25–37. Winter 1994. 10.1109/85.329756. 18148999. 3 March 2018. 30 August 2017. https://web.archive.org/web/20170830065454/http://www.idi.ntnu.no/grupper/su/publ/simula/holmevik-simula-ieeeannals94.pdf. dead.
  9. Book: Butcher . Paul . Seven Concurrency Models in Seven Weeks: When Threads Unravel . 30 June 2014 . Pragmatic Bookshelf . 978-1-68050-466-8 . 204 . en.
  10. Web site: Dr. Alan Kay on the Meaning of "Object-Oriented Programming" . 2003. 11 February 2010.
  11. Jones . Anita K. . Liskov. Barbara H. . April 1976 . An Access Control Facility for Programming Languages . MIT . CSG Memo 137.
  12. Book: Touch of Class: Learning to Program Well with Objects and Contracts. Bertrand Meyer. Springer Science & Business Media. 2009. 978-3-540-92144-8. 329. 2009tclp.book.....M.
  13. The early history of Smalltalk. Alan C. Kay. ACM SIGPLAN Notices. 28. 3. 69–95. March 1993. 10.1145/155360.155364. free.
  14. Moon . David A. . David A. Moon . June 1986 . Object-Oriented Programming with Flavors . Conference proceedings on Object-oriented Programming Systems Languages and Applications . 1–8 . 978-0-89791-204-4 . OOPSLA '86 . 10.1145/28697.28698 . 17150741 . 2022-03-17.
  15. News: Introducing the Smalltalk Zoo . CHM . 17 December 2020 . en.
  16. LOOPS: data and object oriented Programming for Interlisp. 1982. European AI Conference. Bobrow. D. G.. Stefik. M. J.
  17. 1995 (June) Visual FoxPro 3.0, FoxPro evolves from a procedural language to an object-oriented language. Visual FoxPro 3.0 introduces a database container, seamless client/server capabilities, support for ActiveX technologies, and OLE Automation and null support. Summary of Fox releases
  18. FoxPro History web site: Foxprohistory.org
  19. 1995 Reviewers Guide to Visual FoxPro 3.0: DFpug.de
  20. Book: Object Oriented Programming with C++, 1E. 978-81-259-2532-3. Khurana. Rohit. 1 November 2009. Vikas Publishing House Pvt Limited .
  21. Deborah J. Armstrong. The Quarks of Object-Oriented Development. A survey of nearly 40 years of computing literature identified several fundamental concepts found in the large majority of definitions of OOP, in descending order of popularity: Inheritance, Object, Class, Encapsulation, Method, Message Passing, Polymorphism, and Abstraction.
  22. [John C. Mitchell]
  23. Michael Lee Scott, Programming language pragmatics, Edition 2, Morgan Kaufmann, 2006,, p. 470. Lists encapsulation, inheritance, and dynamic dispatch.
  24. Book: Pierce, Benjamin. Types and Programming Languages. MIT Press. 2002. 978-0-262-16209-8. Types and Programming Languages., section 18.1 "What is Object-Oriented Programming?" Lists: Dynamic dispatch, encapsulation or multi-methods (multiple dispatch), subtype polymorphism, inheritance or delegation, open recursion ("this"/"self")
  25. C. J. Date, Introduction to Database Systems, 6th-ed., Page 650
  26. Book: Booch, Grady. Software Engineering with Ada. 1986. Addison Wesley. 978-0-8053-0608-8. 220. Perhaps the greatest strength of an object-oriented approach to development is that it offers a mechanism that captures a model of the real world..
  27. C. J. Date, Hugh Darwen. Foundation for Future Database Systems: The Third Manifesto (2nd Edition)
  28. Web site: Less is exponentially more . Pike . Rob . 25 June 2012 . 1 October 2016 .
  29. Web site: Stevey's Blog Rants: Execution in the Kingdom of Nouns. 20 May 2020.
  30. Rich Hickey, JVM Languages Summit 2009 keynote, Are We There Yet? November 2009.
  31. Web site: STLport: An Interview with A. Stepanov. Stepanov. Alexander. 21 April 2010. Alexander Stepanov.
  32. Book: Classifying prototype-based programming languages. https://www.lirmm.fr/~dony/postscript/proto-book.pdf. C. Dony. J. Malenfant. D. Bardon. Prototype-based programming: concepts, languages and applications . 1999 . Springer . Singapore Berlin Heidelberg . 9789814021258.
  33. Web site: Is Go an object-oriented language? . April 13, 2019 . Although Go has types and methods and allows an object-oriented style of programming, there is no type hierarchy..
  34. Stroustrup . Bjarne . Object-Oriented Programming without Inheritance (Invited Talk) . 2015 . 10.4230/LIPIcs.ECOOP.2015.1. free . 29th European Conference on Object-Oriented Programming (ECOOP 2015). 1:34.
  35. Web site: A few years ago I saw this page . Pike . Rob . 1 October 2016 . 14 November 2012. https://web.archive.org/web/20180814173134/http://plus.google.com/+RobPikeTheHuman/posts/hoJdanihKwb . 14 August 2018 .
  36. [9fans] Re: Threads: Sewing badges of honor onto a Kernel ]. 2 March 2004 . 17 November 2016 . comp.os.plan9 . Pike . Rob . Rob Pike.
  37. Web site: Uncle Bob SOLID principles . . 2 August 2018 .
  38. Book: Jacobsen, Ivar. Object Oriented Software Engineering. 1992. Addison-Wesley ACM Press. 978-0-201-54435-0. 43–69. Magnus Christerson. Patrik Jonsson. Gunnar Overgaard.
  39. Web site: 2023-01-05 . What is Object Oriented Programming (OOP) In Simple Words? – Software Geek Bytes . 2023-01-17 . en-US.
  40. Cardelli . Luca . Wegner . Peter . 1985-12-10 . On understanding types, data abstraction, and polymorphism . ACM Computing Surveys . en . 17 . 4 . 471–523 . 10.1145/6041.6042 . 0360-0300. free .
  41. Web site: The Art of Unix Programming: Unix and Object-Oriented Languages. Eric S. Raymond. 2003. 6 August 2014.
  42. Armstrong, Joe. In Coders at Work: Reflections on the Craft of Programming. Peter Seibel, ed. Codersatwork.com, Accessed 13 November 2009.
  43. Book: Brodie, Leo. Thinking Forth. 92–93 . 1984 . 4 May 2018.
  44. Web site: Category Extreme Programming. Hunt. Andrew. Don't Repeat Yourself. 4 May 2018.
  45. Web site: The Emerald Programming Language. 26 February 2011.
  46. Book: Brucker . Achim D. . Wolff . Burkhart . ECOOP 2008 – Object-Oriented Programming . Extensible Universes for Object-Oriented Data Models . Lecture Notes in Computer Science . 2008 . 5142 . 438–462 . 10.1007/978-3-540-70592-5_19. 978-3-540-70591-8 . object-oriented programming is a widely accepted programming paradigm.
  47. News: Cassel . David . Why Are So Many Developers Hating on Object-Oriented Programming? . The New Stack . 21 August 2019.
  48. Web site: Graham. Paul. Why ARC isn't especially Object-Oriented.. PaulGraham.com. 13 November 2009. Paul Graham (computer programmer).
  49. Web site: Feldman . Richard . Why Isn't Functional Programming the Norm? . . 30 September 2019 . en.
  50. Web site: Krubner. Lawrence. Object Oriented Programming is an expensive disaster which must end. smashcompany.com. 14 October 2014. https://web.archive.org/web/20141014233854/http://www.smashcompany.com/technology/object-oriented-programming-is-an-expensive-disaster-which-must-end. 14 October 2014. dead.
  51. Productivity Analysis of Object-Oriented Software Developed in a Commercial Environment. Potok. Thomas. Mladen Vouk . Andy Rindos . Software: Practice and Experience . 29. 10. 833–847 . 1999 . 21 April 2010. 10.1002/(SICI)1097-024X(199908)29:10<833::AID-SPE258>3.0.CO;2-P. 57865731.
  52. Luca. Cardelli. Bad Engineering Properties of Object-Oriented Languages . 1996. 21 April 2010. 10.1145/242224.242415. ACM Comput. Surv.. 28. 0360-0300. 150–es. Luca Cardelli. 4es. 12105785.
  53. Web site: Design Principles and Design Patterns . Martin . Robert C. . Robert Cecil Martin . 28 April 2017 . dead . https://web.archive.org/web/20150906155800/http://www.objectmentor.com/resources/articles/Principles_and_Patterns.pdf . September 6, 2015 .
  54. Web site: Ted. Neward. The Vietnam of Computer Science. 26 June 2006. 2 June 2010. Interoperability Happens. https://web.archive.org/web/20060704030226/http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx. 4 July 2006. dead. dmy-all.
  55. M.Trofimov, OOOP – The Third "O" Solution: Open OOP. First Class, OMG, 1993, Vol. 3, issue 3, p.14.
  56. Niklaus Wirth. IEEE Computer. 39. 1. January 23, 2006. 28–39. Good ideas, through the looking glass. Cover Feature. 10.1109/MC.2006.20. 6582369. https://web.archive.org/web/20161012215755/https://pdfs.semanticscholar.org/10bd/dc49b85196aaa6715dd46843d9dcffa38358.pdf . dead . 12 October 2016.
  57. Web site: Steve. Yegge . Execution in the Kingdom of Nouns. 30 March 2006. 3 July 2010. steve-yegge.blogspot.com.
  58. Web site: Timothy. Boronczyk . What's Wrong with OOP. 11 June 2009. 3 July 2010. zaemis.blogspot.com.
  59. Web site: Scott. Ambler. A Realistic Look at Object-Oriented Reuse. 1 January 1998. 4 July 2010. drdobbs.com.
  60. Web site: Asaf. Shelly . Flaws of Object Oriented Modeling. 22 August 2008. 4 July 2010. Intel Software Network.
  61. Web site: Justin. James. Multithreading is a verb not a noun. 1 October 2007. 4 July 2010. techrepublic.com. https://web.archive.org/web/20071010105117/http://blogs.techrepublic.com.com/programming-and-development/?p=518. 10 October 2007. dead. dmy-all.
  62. Web site: Asaf. Shelly. HOW TO: Multicore Programming (Multiprocessing) Visual C++ Class Design Guidelines, Member Functions. 22 August 2008. 4 July 2010. support.microsoft.com.
  63. Web site: Some thoughts on teaching FP. Robert Harper . Existential Type Blog. 5 December 2011. 17 April 2011. Robert Harper (computer scientist).
  64. Web site: Poll. Erik. Subtyping and Inheritance for Categorical Datatypes. 5 June 2011.
  65. Book: Abadi, Martin. A Theory of Objects. 1996. 21 April 2010. 978-0-387-94775-4. Springer-Verlag New York, Inc.. Martin Abadi. Cardelli, Luca .