jonos wrote:
i think i understand this. id ask if this is similar to records in turing, but i hvaen't learned those yet.
Though I'm not familiar with Turing, I'd tend to say yes, based on other languages that use "records". This is also similar to "struct"s in C (though not C++).
The next evolution of this concept is the class, where we not only put data into a container, but also functions and procedures for dealing with those pieces of data. In an ideal situation, we make sure no one can see those pieces of data, but just manipulates them with the functions.