A data structure that bundles values of different types together in a fixed order.
A data structure that holds elements of different types in a fixed order, used for cases such as returning multiple values from a function. Because its elements don't carry meaningful names, a tuple with many elements makes it easy to lose track of what the second value even represents -- when readability matters, a dedicated class or record type is often preferred instead.
© 2026 ITBGM