DEV Community

# enum

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
How to proper use ambient enum from Definition file

How to proper use ambient enum from Definition file

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

O Poder da Classe Enum com métodos abstratos

Reactions 9 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 3 Comments
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 6 Comments
3 min read
How and Why to Write Enums in Go

How and Why to Write Enums in Go

Reactions 13 Comments
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 9 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 7 Comments
2 min read
Using enum in C++ the C way?

Using enum in C++ the C way?

Reactions 7 Comments 2
6 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 5 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...