DEV Community

# enum

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How to convert a TypeScript built-in enum to a GraphQL enum

How to convert a TypeScript built-in enum to a GraphQL enum

4
Comments 2
1 min read
Leveraging Enums in Angular: Enhancing Code Clarity and Reliability

Leveraging Enums in Angular: Enhancing Code Clarity and Reliability

Comments
3 min read
Enum Fábrica Solitão em Java

Enum Fábrica Solitão em Java

5
Comments
3 min read
Implementing Enums in Golang

Implementing Enums in Golang

7
Comments 4
4 min read
Elixirでリストの最初の要素を取得

Elixirでリストの最初の要素を取得

2
Comments
2 min read
[JS TS] How to create an object with keys based on enum

[JS TS] How to create an object with keys based on enum

Comments
1 min read
Enum ou Enumerations no PHP

Enum ou Enumerations no PHP

3
Comments
3 min read
Replacing If-Else Statements with Enums in Java

Replacing If-Else Statements with Enums in Java

Comments
3 min read
Working with Enums in Rust

Working with Enums in Rust

2
Comments
2 min read
Modelando algoritmos complexos com enum

Modelando algoritmos complexos com enum

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

Managing Task Status Transitions in TypeScript with Enums and Object Mapping

5
Comments
1 min read
TypeScript Enum's vs Discriminated Unions

TypeScript Enum's vs Discriminated Unions

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

Strategy Pattern no Spring Boot Usando Enum

7
Comments 1
7 min read
Problem in C Pointer

Problem in C Pointer

2
Comments
1 min read
Merge TypeScript Enums

Merge TypeScript Enums

6
Comments 1
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

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

How to proper use ambient enum from Definition file

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

O Poder da Classe Enum com métodos abstratos

10
Comments
4 min read
Refactoring code with the Strate Pattern

Refactoring code with the Strate Pattern

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

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

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

4
Comments
1 min read
Typescript enums drawbacks and solutions

Typescript enums drawbacks and solutions

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

Display a friendly name with Enum.ToString()

2
Comments
2 min read
Enumerated Types in Rails with Postgres

Enumerated Types in Rails with Postgres

4
Comments
6 min read
Fun with Rails Enums and PORO

Fun with Rails Enums and PORO

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

HackerRank #11 | DataTypes | 🇧🇷

3
Comments
3 min read
Dynamic Enums

Dynamic Enums

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

Swift: Deconstruct SPF: Qualifier and MechanismKind

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

PHP Enum - get rid of boilerplate mappings

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

Short and Sweet: Typescript const assertions

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

How and Why to Write Enums in Go

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

Dynamic generation of informative `Enum`s in Python

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

Enum, enumeraciones en C Sharp (C#)

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

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

Better way to store Enum values in MongoDB

4
Comments
5 min read
PureFunctionalJS - Sum Types In JavaScript

PureFunctionalJS - Sum Types In JavaScript

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

Create your ENUM (yes from Java')

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

SwiftUI: Use Enum for ActionSheet Selection

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

Publishable Enum in Ruby on Rails with PostgreSQL

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

Effective Java! Emulate Extensible Enums With Interfaces.

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

Effective Java! Use EnumMap instead of Ordinal Indexing

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

Effective Java! Use EnumSet Instead of Bit Fields

6
Comments 2
2 min read
Effective Java! Use Instance Fields Instead of Ordinals

Effective Java! Use Instance Fields Instead of Ordinals

5
Comments
2 min read
Everything about enum data type in Java

Everything about enum data type in Java

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

Using Python Enum and IntEnum Like An Expert

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

10
Comments
3 min read
Strongly Typed Enum

Strongly Typed Enum

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

[TypeScript] Implement valueOf method in Enums

6
Comments
2 min read
Sealed (Class) with love

Sealed (Class) with love

29
Comments
3 min read
Initializing Enums With Optionals in Swift

Initializing Enums With Optionals in Swift

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

2
Comments
2 min read
loading...