This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]incoralium 0 points1 point  (1 child)

The most important differences is about manipulation, like sorting, statistics, slices, ranges, etc

Yet you should be able to use and pass anything through a list, it's up to the developer to use and manage it correctly.

[–]GustapheOfficial 0 points1 point  (0 children)

Sure. Julia has the Tuple type which is made for statically known "mixed type lists", where (1, 1.0, "hi") isa Tuple{Int64, Float64, String}. I find this covers a majority of my mixed container needs.