(Data Type|Data Structure)
Table of Contents
1 - About
A data structure is the static format of data (ie persist on the disk) whereas data type is the runtime representation in code. The two are synonym.
Structured data has a schema defining its structure.
All data structures are represented with three basic primitives:
- mappings (hashes/dictionaries),
- sequences (arrays/lists)
- and scalars (strings/numbers).
In computer science, a data structure is a particular way of organizing data in a computer so that it can be used efficiently. Wikipedia
Bad programmers worry about the code. Good programmers worry about data structures and their relationships. Linus Torvalds
- sequence of bytes
You will not find language data structure in this section such as:
- Markup Language (ML) (Xml, Json)
The clarity of examples, and the software’s decipherability and debuggability in the real world, are likely far more important. Form must communicate function. Mike Bostocks