Hacker News new | ask | show | jobs
by dvdkon 1915 days ago
Agree with array/list, we don't need more contiguous chunks of memory, but tuples are very different, if only because they allow elements of different types. They're really more ad-hoc unnamed structs than collections.
1 comments

in strictly typed languages that would be correct, and I still somewhat agree, but AviatorScript is dynamically typed, and allows lists containing elements with different types. It's basically List<Object>. So it seems to be a strictly semantic distinction.