tuples vs records
Both are product types which let you build types from multiple simpler types. Some languages treat tuples as a kind of record. Definitions A tuple is an ordered group of elements, like (10, 25). A record is typically a group of named elements like { “x”: 10, “y”: 25 } where the value has two … Read more