DEV Community

# enum

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Replacing If-Else Statements with Enums in Java

Replacing If-Else Statements with Enums in Java

Comments
3 min read
Enum ou Enumerations no PHP

Enum ou Enumerations no PHP

Reactions 2 Comments
3 min read
Working with Enums in Rust

Working with Enums in Rust

Reactions 2 Comments
2 min read
Managing Task Status Transitions in TypeScript with Enums and Object Mapping

Managing Task Status Transitions in TypeScript with Enums and Object Mapping

Reactions 5 Comments
1 min read
Modelando algoritmos complexos com enum

Modelando algoritmos complexos com enum

Comments
3 min read
TypeScript Enum's vs Discriminated Unions

TypeScript Enum's vs Discriminated Unions

Reactions 10 Comments 1
17 min read
Strategy Pattern no Spring Boot Usando Enum

Strategy Pattern no Spring Boot Usando Enum

Reactions 6 Comments 1
7 min read
Problem in C Pointer

Problem in C Pointer

Reactions 2 Comments
1 min read
Merge TypeScript Enums

Merge TypeScript Enums

Reactions 5 Comments
2 min read
Agora sim, o grande ganho do enum no Dart 2.17

Agora sim, o grande ganho do enum no Dart 2.17

Reactions 6 Comments
2 min read
How to proper use ambient enum from Definition file

How to proper use ambient enum from Definition file

Reactions 6 Comments 3
2 min read
O Poder da Classe Enum com métodos abstratos

O Poder da Classe Enum com métodos abstratos

Reactions 10 Comments
4 min read
Refactoring code with the Strate Pattern

Refactoring code with the Strate Pattern

Reactions 4 Comments
1 min read
🔥Input Enums for a better Development Experience 🔥 😋✂️

🔥Input Enums for a better Development Experience 🔥 😋✂️

Reactions 5 Comments
7 min read
O pequeno grande ganho do enum no Dart 2.15

O pequeno grande ganho do enum no Dart 2.15

Reactions 4 Comments
1 min read
Typescript enums drawbacks and solutions

Typescript enums drawbacks and solutions

Reactions 6 Comments 1
5 min read
Display a friendly name with Enum.ToString()

Display a friendly name with Enum.ToString()

Reactions 2 Comments
2 min read
Enumerated Types in Rails with Postgres

Enumerated Types in Rails with Postgres

Reactions 4 Comments
6 min read
Fun with Rails Enums and PORO

Fun with Rails Enums and PORO

Reactions 10 Comments
8 min read
HackerRank #11 | DataTypes | 🇧🇷

HackerRank #11 | DataTypes | 🇧🇷

Reactions 3 Comments
3 min read
Dynamic Enums

Dynamic Enums

Reactions 7 Comments 2
14 min read
Swift: Deconstruct SPF: Qualifier and MechanismKind

Swift: Deconstruct SPF: Qualifier and MechanismKind

Reactions 4 Comments
3 min read
PHP Enum - get rid of boilerplate mappings

PHP Enum - get rid of boilerplate mappings

Reactions 3 Comments
1 min read
Short and Sweet: Typescript const assertions

Short and Sweet: Typescript const assertions

Reactions 7 Comments
3 min read
How and Why to Write Enums in Go

How and Why to Write Enums in Go

Reactions 13 Comments 1
3 min read
Dynamic generation of informative `Enum`s in Python

Dynamic generation of informative `Enum`s in Python

Reactions 10 Comments 1
2 min read
Enum, enumeraciones en C Sharp (C#)

Enum, enumeraciones en C Sharp (C#)

Reactions 10 Comments
3 min read
Listing all the possible values for an enum in Typescript

Listing all the possible values for an enum in Typescript

Reactions 6 Comments
2 min read
Better way to store Enum values in MongoDB

Better way to store Enum values in MongoDB

Reactions 4 Comments
5 min read
PureFunctionalJS - Sum Types In JavaScript

PureFunctionalJS - Sum Types In JavaScript

Reactions 4 Comments
5 min read
Create your ENUM (yes from Java')

Create your ENUM (yes from Java')

Reactions 7 Comments
2 min read
SwiftUI: Use Enum for ActionSheet Selection

SwiftUI: Use Enum for ActionSheet Selection

Reactions 6 Comments
2 min read
Publishable Enum in Ruby on Rails with PostgreSQL

Publishable Enum in Ruby on Rails with PostgreSQL

Reactions 7 Comments
1 min read
Effective Java! Emulate Extensible Enums With Interfaces.

Effective Java! Emulate Extensible Enums With Interfaces.

Reactions 8 Comments
2 min read
Everything about enum data type in Java

Everything about enum data type in Java

Reactions 4 Comments
5 min read
Using Python Enum and IntEnum Like An Expert

Using Python Enum and IntEnum Like An Expert

Reactions 8 Comments
2 min read
Creating migrations when changing an enum in Python using SQLAlchemy

Creating migrations when changing an enum in Python using SQLAlchemy

Reactions 10 Comments
3 min read
Strongly Typed Enum

Strongly Typed Enum

Reactions 7 Comments
1 min read
[TypeScript] Implement valueOf method in Enums

[TypeScript] Implement valueOf method in Enums

Reactions 6 Comments
2 min read
Sealed (Class) with love

Sealed (Class) with love

Reactions 29 Comments
3 min read
Effective Java! Use Instance Fields Instead of Ordinals

Effective Java! Use Instance Fields Instead of Ordinals

Reactions 5 Comments
2 min read
Effective Java! Use EnumSet Instead of Bit Fields

Effective Java! Use EnumSet Instead of Bit Fields

Reactions 6 Comments 2
2 min read
Effective Java! Use EnumMap instead of Ordinal Indexing

Effective Java! Use EnumMap instead of Ordinal Indexing

Reactions 9 Comments
2 min read
Initializing Enums With Optionals in Swift

Initializing Enums With Optionals in Swift

Reactions 10 Comments
1 min read
How to generate dynamic ENUM type in GraphQL from DataBase using NestJS, MongoDB

How to generate dynamic ENUM type in GraphQL from DataBase using NestJS, MongoDB

Reactions 2 Comments
2 min read
loading...