'List' instead of 'Array'? #1967
GeorgeAzma
started this conversation in
Language design
Replies: 1 comment 1 reply
-
An array is typically of a constant size as memory is allocated for it once and that is it. Lists (at least in higher level languages) typically dynamically allocate their memory, allowing for growing and shrinking of list size. Assuming Carbon arrays follow this style it would not make sense to call it a list |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions