Skip to content
#

Object-oriented programming (OOP)

Object-oriented programming (OOP) is a programming paradigm based on the concept of objects fundamental to many programming languages, including Java and C++. OOP can be devided in two sub types: class-based (or “classical”) and prototype-based OOP (found in JavaScript, for example).

Object-oriented programming has several advantages over procedural programming:

  • OOP provides a clear structure for the programs
  • OOP helps to keep the code DRY “Don’t Repeat Yourself”, and makes the code easier to maintain, modify and debug
  • Logic can be abstracted, encapsulated, composed, inherited and decoupled
  • Here are 1,488 public repositories matching this topic...

    Trying to create an implementation in Java of a simple online book store application modeled using the object oriented paradigm. Usually, you will find examples full of anemic objects where the business logic is spread along the entire application. This example is not that case (at least we tried to achieve that). Objects must contain business l…

    oop
    • Updated Apr 15, 2016
    • JavaScript