Skip to main content

Posts

Showing posts with the label Object Oriented Javascript

Object-oriented programming

Object-oriented programming Object-oriented programming is a programming paradigm that uses abstraction to create models based on the real world. It uses several techniques from previously established paradigms, including modularity, polymorphism, and encapsulation.    Object-oriented programming is intended to promote greater flexibility and maintainability in programming, and is widely popular in large-scale software engineering. Terminology Namespace A container which allows developers to bundle all functionality under a unique, application-specific name. Class Defines the characteristics of the object.   Object An Instance of a class. Property An object characteristic, such as color. Method An object capability, such as walk. It is a subroutine or function associated with a class. Constructor A method called at the moment of instantiation of an object.   Inheritance A class can inherit characteristics from another class. Encapsulation A met