In programming some components have a set list of items while others have a fixed list of items. Are both usages correct and outside of programming is there a difference between them?
How different are they from the "a list of items"?
English Language Learners Stack Exchange is a question and answer site for speakers of other languages learning English. It only takes a minute to sign up.Sign up to join this community
Outside of programming, the meanings between your two phrases are basically the same
a set guest list
a fixed guest list
a set price
a fixed price
are both lists and prices which have been determined beforehand and not changeable. One might say
The guest list is set.
The price is set.
which has a different meaning of being established. Whereas,
The guest list is fixed.
The price is fixed.
has the same meaning of unchangeability.
The difference is in programming there is the particular concept of immutability where an array or list can not be changed programmatically and is usually a fundamental feature of a programming language, but in everyday usage the definitions can be more blurred and ambiguous which can not be allowed in programming.
a set list of items
- countable noun
A set of things is a number of things that belong together or that are thought of as a group.
So this list contains items that go together for some reason.
a fixed list of items
- adjective You use fixed to describe something which stays the same and does not or cannot vary.
So a fixed list never changes. All items stay the same.
And a list is just a list. That's all.