Skip to content
#

object-oriented-programming

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 182 public repositories matching this topic...

Ultimate-Notes-Books-Resources-for-NCIT

PyBox provides you with a compilation of many such Python games, serving as a platform to, simply put, have fun. Ranging from pen and paper games like Tic Tac Toe to watered down and modified versions of popular classic arcade games like Snake, Flappy bird and Pong, we have a game for everybody to play.

  • Updated Oct 2, 2022
  • HTML
Semester-Notes

Creates a full deck of cards with a Card class, Deck class, and Player class. Currently displayed using the browser's console. Cards have a suit, string value, and numerical value. Cards also have a "show" method (which logs the card's information to the console). The Deck has "shuffle", "reset" and "deal" methods. The Player has a hand that the…

  • Updated Nov 29, 2018
  • HTML