typeagnostic
Type-agnostic describes software components, interfaces, or algorithms that do not commit to a fixed data type for inputs, outputs, or internal operations. Such components are intended to operate on values of multiple types or to defer type decisions to runtime or to the user. The term is used across programming language design, API design, and library development to emphasize flexibility and reuse.
In practice, type-agnostic behavior is achieved through polymorphism, dynamic typing, duck typing, or type parameterization. Languages
Examples include a serialization library that can handle numbers, strings, and objects with a common serialization
Compared to strictly type-specific constructs, type-agnostic approaches emphasize broad applicability. They are common in modern language