Thanks Joe for the post.
Is an "array data structure" a superset of "array type"?
or are they not related at all?
Types refer to the language implimentations, basically it's whatever looks like an array and
a specific language says is an array.
The data structure definition is more formal: contiguos memory allocation of the same sized element so you can achieve random access (as in, lookup any) in constant time.
Borrowing C# analogy,
Types refer to an interface while data structure is a type of implementation implementing the interface.
Am I getting close to the truthiness? 😆
I like it!
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.