In programming, an enumeration data type consisting of a set of named constants representing distinct values.
Abbreviated from 'enumeration,' from Latin enumerare meaning 'to count out' (e- 'out' + numerare 'to count'). The programming term emerged in the 1960s-70s as languages needed ways to define sets of related constants.
Enums solve a fundamental problem in programming - how to represent concepts like days of the week or colors without using confusing numbers. They make code more readable by letting programmers write 'Color.RED' instead of remembering that red equals 1.
Complete word intelligence in one call. Free tier — 50 lookups/day.