Indexing

14. Glossary

list:

    A sequence of values. 

element:

    One of the values in a list (or other sequence), also called items. 

nested list:

    A list that is an element of another list. 

accumulator:

    A variable used in a loop to add up or accumulate a result. 

augmented assignment:

    A statement that updates the value of a variable using an operator like +=. 

reduce:

    A processing pattern that traverses a sequence and accumulates the elements into a single result. 

map:

    A processing pattern that traverses a sequence and performs an operation on each element. 

filter:

    A processing pattern that traverses a list and selects the elements that satisfy some criterion. 

object:

    Something a variable can refer to. An object has a type and a value. 

equivalent:

    Having the same value. 

identical:

    Being the same object (which implies equivalence). 

reference:

    The association between a variable and its value. 

aliasing:

    A circumstance where two or more variables refer to the same object. 

delimiter:

    A character or string used to indicate where a string should be split.