Derived Type
Noun · Development
Definitions
A type that inherits from or extends a base type, gaining its properties and behaviors while potentially adding or overriding them. Common in Fortran, C++, and other statically typed languages.
In plain English: A new type built on top of an existing one — like creating a 'sports car' type that starts with everything a 'car' already has, then adds turbo.
Example: "The Employee derived type extends Person with a salary field and a promote() method."
Related Terms
- Class
- Constructor
- Effect System
- Enum
- Error Union
- Generic
- GObject
- Implicit
- Metatable
- Mixin
- Modifier
- Multiple Dispatch
- Optional
- Property
- Sealed Class
- Type Checker
- Type Inference
- Variant
- Type Erasure
- Dependent Type
- Method Override
- Method Resolution Order
- Override
- Parent Class
- Receiver
- Record Type
- Reference Type
- Subclass
- Super
- Superclass