A small mistake: arrays are not fixed length, not necessarily. Arrays in higher level type systems are usually dynamic in length. So the terms "array" and "vector" are often interchangeable.
But yes an array is a primitive homogenous collection. A tuple is a product type. Being a product type makes it have a constant number of different fields.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
A small mistake: arrays are not fixed length, not necessarily. Arrays in higher level type systems are usually dynamic in length. So the terms "array" and "vector" are often interchangeable.
But yes an array is a primitive homogenous collection. A tuple is a product type. Being a product type makes it have a constant number of different fields.