enumeração, tipo enumerado
1. In programming, a data type consisting of a set of named integral constants, allowing a variable to be assigned one of several predefined values
The enum Color has three values: RED, GREEN, and BLUE.
O enum Cor tem três valores: VERMELHO, VERDE e AZUL.
2. A variable or data structure that can only take on one of a predefined set of named values
We used an enum to represent the days of the week in our application.
Usamos um enum para representar os dias da semana em nossa aplicação.
Enum is a technical programming term used globally in software development contexts. In Brazil, programmers typically use the English term 'enum' even when speaking Portuguese, though 'enumeração' or 'tipo enumerado' may be used in formal documentation or educational settings.
Look up more words on Fala2Me
The free English-Portuguese dictionary with real Brazilian accents, NYC slang, conjugator and more
Open Fala2Me →