Software terminology is on-topic here, however my question When programmers talk about "data structures", what are they referring to? got closed as "not a real question"
The question was asked because when looking up the exact definition of a data structure, I noticed that wikipedia provides a list of data structures which includes composite types (class objects, structs, enums, etc) and primitive types (boolean, int, char, etc)
I don't think I've ever heard of programmers using the term "data structures" to refer to primitive types, and very rarely when referring to classes, so this got me wondering about the exact definition of a data structure.
Since software terminology is on-topic here, I thought programmers would be a good place to ask, but it got closed as not-a-real-question.
I disagree with this assessment because the question is on-topic for Programmers, and the answer is actually not as clear as you would think, and not easily found by a Google search.
"Data Structures" is a broad term used to cover structures that hold data, however it is also used as a term to reference abstract data types like Lists
, Trees
, Graphs
, etc. When programmers talk about "data structures", they are usually referring to the more specific term for abstract data types, which is why I almost always hear it being used in reference to abstract data types.
If I am incorrect and software terminology is off-topic here, than it's fine being closed, but if this is incorrect then can we get the question reopened?