Class
Noun · Development
Definitions
A blueprint for creating objects that encapsulates data (fields/properties) and behavior (methods) into a single unit. Classes are the fundamental building block of object-oriented programming in languages like Java, Python, and C++.
In plain English: A template or blueprint that describes what an object looks like and what it can do, like a cookie cutter that shapes many identical cookies.
Related Terms
- Constructor
- Dependency Injection
- Derived Type
- DSL
- Dynamic Typing
- Effect System
- Enum
- Error Union
- Function
- Generic
- GObject
- Higher-Order Function
- Implicit
- Interface
- Metamethod
- Metatable
- Modifier
- Multiple Dispatch
- Optional
- Property
- Sealed Class
- Type Checker
- Type Inference
- Variant
- Type Erasure
- Covariance
- Nominal Typing
- Dependent Type
- Command Line Interface
- Custom Hook
- Deploy Hook
- Fluent Interface
- Hook
- Interface Segregation
- Object-Relational Mapping
- Partial Type
- Property Accessor
- Receiver
- Record Type
- Reference Type