DEV Community

# enum

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Mastering ENUMs in Go

Mastering ENUMs in Go

Comments
2 min read
The 3 kinds of Enum in Rails

The 3 kinds of Enum in Rails

2
Comments 10
2 min read
Enhancing Enum Constants in Laravel with Description and Label Attributes

Enhancing Enum Constants in Laravel with Description and Label Attributes

4
Comments 4
2 min read
Should I stay or should I go? Enums in TypeScript - error case study

Should I stay or should I go? Enums in TypeScript - error case study

2
Comments
2 min read
Result in Rust: another way of error handling

Result in Rust: another way of error handling

Comments
3 min read
How to convert a TypeScript built-in enum to a GraphQL enum

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

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

10
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

2
Comments
1 min read
Enum ou Enumerations no PHP

Enum ou Enumerations no PHP

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

Replacing If-Else Statements with Enums in Java

6
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

10
Comments 1
7 min read
Merge TypeScript Enums

Merge TypeScript Enums

15
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

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

O Poder da Classe Enum com métodos abstratos

14
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

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

Enum, enumeraciones en C Sharp (C#)

14
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

11
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

8
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

6
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

11
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

8
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...