AnyLang Programming Language Comparison/Variables and data structures
Variables as composite data structures
Variables can be combined into composite data structures. Data structures are useful and common in mainstream programming languages, and they follow commonly recognized patterns which can be documented and re-used.
SimpleTable (AoH , AoD)
(aka simpletable_aoh [array of hash])
(aka simpletable_aod [array of dictionary])
Rows are represented using an unordered sequence of name-value pairs (aka Dictionary, Hash, Object).
(aka simpletable_aos [array of sequence])
This is a table structure suitable for representing a series of rows and columns in most programming languages.
Rows are represented using an ordered sequence of values (aka Array, List).
Notes and references
- See e.g., "Perl Data Structures Cookbook". http://perldoc.perl.org/perldsc.html. Retrieved 2010-01-15 09:34:53. Perl Data Structures Cookbook
- Christiansen, Tom (2003). Perl Cookbook. Boston: Twayne Publishers. ISBN 0596003137.
- The search fingerprint for this structure is gem_hypo_kinds_yuzovka_aoh.
- This term is used in Perl, where a "Hash" is another term for a "Dictionary" array.
- The search fingerprint for this structure is gem_hypo_kinds_yuzovka_aoa.