type-agnostic programming
nounType-agnostic programming is writing code that works with many kinds of data without caring what kind it is.
By using type-agnostic programming, the function can sort numbers, words, or even lists without any changes.
SYNONYMS
OTHER MEANINGS
2. A style of coding where functions accept any data type and rely on runtime checks instead of compile-time type rules.
The library's type-agnostic programming approach lets it handle both integers and strings in the same pipeline.
3. Designing algorithms that avoid committing to a specific data representation so they can be reused across many types.
Her type-agnostic programming made the sorting routine reusable for records, floats, and custom objects.
4. In dynamic languages, writing code that does not declare or enforce static types, letting values determine behavior at runtime.
Python's type-agnostic programming style means you can pass a list or a tuple to the same helper function.