OOP
Class-based coding style
OOP is object-oriented programming, a software development paradigm that organizes code around "objects"—data structures bundled with the functions that operate on them.
Classes define blueprints; objects are instances of those classes.
Core concepts include inheritance, encapsulation, and polymorphism.
Java and Python both support OOP.
The approach contrasts with procedural programming, which organizes code around functions rather than data.
Recurring arrangement or template
- couplingJoint between systems
- cohesionTendency to bind together
- compositionArranged elements forming whole
- modularityDivisibility into independent units
reusability · maintainability · architecture · refactoring · factory · singleton · observer · decorator
Grouping by shared traits
- objectTangible entity or aim
- instanceSingle occurrence of something
- methodOrderly way of doing
- attributeQuality assigned to something
property · instantiation · this · self · new · static · member · field
Restricted to certain parties
mutator · constructor · destructor · scope · visibility · state · capsule · bundling
Taxonomic rank below main
- superclassCategory above class
- extendsIncreases in scope
- overrideCancel by authority
- derivedObtained from a source
base · parent · child · hierarchy · generalization · specialization · inherit · ancestry
Exceeding safe capacity
- overridingOf chief importance
- subtypeSmaller group within larger
- interfaceShared connection point
- genericNot brand-name
template · ad-hoc · parametric · runtime · covariance · polymorphic
Shared connection point
- contractEnforceable written agreement
- specificationDetailed technical requirement
- APISoftware communication standard
- blueprintDetailed technical drawing
high-level · protocol · facade · decoupling · signature
pattern
Recurring arrangement or template
- couplingJoint between systems
- cohesionTendency to bind together
- compositionArranged elements forming whole
modularity · reusability · maintainability · architecture · refactoring · factory · singleton · observer · decorator · MVC
class
Grouping by shared traits
attribute · property · instantiation · this · self · new · static · member · field · behavior
private
Restricted to certain parties
setter · mutator · constructor · destructor · scope · visibility · state · capsule · bundling · internal
subclass
Taxonomic rank below main
- superclassCategory above class
- extendsIncreases in scope
- overrideCancel by authority
derived · base · parent · child · hierarchy · generalization · specialization · inherit · ancestry · prototypical
overloading
Exceeding safe capacity
- overridingOf chief importance
- subtypeSmaller group within larger
- interfaceShared connection point
generic · template · ad-hoc · parametric · runtime · covariance · polymorphic
interface
Shared connection point
- contractEnforceable written agreement
- specificationDetailed technical requirement
- APISoftware communication standard
blueprint · high-level · protocol · facade · decoupling · signature
OOPprocedural
Following set steps
functional · assembly language · machine code · scripting · Haskell
- alley oopAerial pass-to-dunk maneuver
- oops babyUnintended conception's outcome
- oops babiesUnintended conception outcomes
- allez oopExclamation during aerial assist