collection-based code
noun phraseUK /kəˈlɛkʃən beɪst kəʊd/
US /kəˈlɛkʃən beɪst koʊd/
Code that works with a group of things kept together, like a list of names.
The teacher showed us collection-based code that sorted all the students' names into a list.
RELATED WORDS
OTHER MEANINGS
2. Programming that stores and manages many items in one organized container.
She wrote collection-based code to keep track of every book in the library.
3. Instructions that use a collection, such as a list or set, to hold and change data.
Our game uses collection-based code to remember all the players' scores.
4. A style of coding where the main job is adding, finding, or removing items from a group.
The app's collection-based code lets you add and delete photos easily.