Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
#

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 16,728 public repositories matching this topic...

    <> ,You Guan Yu JavaScript, Bian Cheng Fan Shi , She Ji Mo Shi , Ruan Jian Kai Fa De Yi Zhu Deng Da Qian Duan Fan Chou Nei De Zhi Shi Fen Xiang ,Zhi Zai Bang Zhu Qian Duan Gong Cheng Shi Men Hang Shi Ji Zhu Ji Chu Yi Tong Guo Yi Xian Hu Lian Wang Qi Ye Ji Zhu Mian Shi .

    • Updated Aug 27, 2025
    • JavaScript