---
title: "#enum articles | Hashnode"
description: "Explore 67 articles tagged #enum on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/enum"
---

Tag

# #enum

67 posts · 0 followers

[Paul Hunter](https://hashnode.com/@paulh) · [Nov 2](https://hashnode.com/posts/php-enumerations/6ae8a0f2095907b369641ce6)

### [PHP Enumerations](https://pauls-brain-dump.hashnode.dev/php-enumerations?utm_source=hashnode&utm_medium=feed)

Enumerations were added to PHP in PHP 8.1 so I decided to give them a try, and I quite like them. Here’s the most basic form enum MaritalStatus { case Single; case Married; case Divorced; case

6 min read · [pauls-brain-dump.hashnode.dev](https://pauls-brain-dump.hashnode.dev/php-enumerations?utm_source=hashnode&utm_medium=feed)

[Patrick Kearns](https://hashnode.com/@fullstackcity) · [Jun 18](https://hashnode.com/posts/the-enum-that-became-a-production-incident/6a343d1ed4fcf4ae5fa06fdb)

### [The Enum That Became a Production Incident](https://fullstackcity.com/the-enum-that-became-a-production-incident?utm_source=hashnode&utm_medium=feed)

Enums are one of those C# features that feel too small to deserve much architectural attention.

17 min read · [fullstackcity.com](https://fullstackcity.com/the-enum-that-became-a-production-incident?utm_source=hashnode&utm_medium=feed)

[3](https://hashnode.com/posts/the-enum-that-became-a-production-incident/6a343d1ed4fcf4ae5fa06fdb)

[shijistar](https://hashnode.com/@shijistar) · [May 28](https://hashnode.com/posts/stop-rebuilding-label-maps-a-practical-case-for-enum-plus-in-frontend-app/6a185736735ed97a11355a6f)

### [Stop rebuilding label maps: a practical case for enum-plus in frontend app](https://enum-plus.hashnode.dev/stop-rebuilding-label-maps-a-practical-case-for-enum-plus-in-frontend-app?utm_source=hashnode&utm_medium=feed)

A practical case for using enum-plus when your frontend app needs labels, metadata, localization, and UI option generation from one source of truth.

6 min read · [enum-plus.hashnode.dev](https://enum-plus.hashnode.dev/stop-rebuilding-label-maps-a-practical-case-for-enum-plus-in-frontend-app?utm_source=hashnode&utm_medium=feed)

[Leon Pennings](https://hashnode.com/@leon74) · [Jan 13](https://hashnode.com/posts/from-values-to-meaning-getting-more-from-java-enums-with-rich-domain-modeling/6965f7cd3634c3d73bd9bb55)

### [From Values to Meaning: Getting More from Java Enums with Rich Domain Modeling](https://blog.leonpennings.com/from-values-to-meaning-getting-more-from-java-enums-with-rich-domain-modeling?utm_source=hashnode&utm_medium=feed)

Modern software systems are excellent at moving values around.They are far less effective at preserving meaning. Enums are a telling example. In many codebases, they are treated as glorified constants: labels passed through layers, inspected by if st...

6 min read · [blog.leonpennings.com](https://blog.leonpennings.com/from-values-to-meaning-getting-more-from-java-enums-with-rich-domain-modeling?utm_source=hashnode&utm_medium=feed)

[Aú Desviante](https://hashnode.com/@audesviante) · [Oct 16, 2025](https://hashnode.com/posts/combinando-constantes-com-enum/68f0e690ab4e461cbf3574ef)

### [Combinando constantes com enum](https://audesviante.hashnode.dev/combinando-constantes-com-enum?utm_source=hashnode&utm_medium=feed)

Quando uma variável só pode aceitar um valor dentre um pequeno conjunto de valores possíveis, é uma boa ideia usar enumerações em um programa. Enum é uma abreviação especial para enumeração que nos permite criar uma lista de constantes agrupadas por ...

3 min read · [audesviante.hashnode.dev](https://audesviante.hashnode.dev/combinando-constantes-com-enum?utm_source=hashnode&utm_medium=feed)

[Aú Desviante](https://hashnode.com/@audesviante) · [Oct 16, 2025](https://hashnode.com/posts/campos-e-metodos-em-enum/68f0ee5fbb928a0cb013e60b)

### [Campos e métodos em Enum](https://audesviante.hashnode.dev/campos-e-metodos-em-enum?utm_source=hashnode&utm_medium=feed)

Usamos enums para definir conjuntos de variáveis ​​imutáveis. Após defini-las, podemos precisar estender a funcionalidade do enum e adicionar valores às constantes. Assim como uma classe, um enum pode ter campos, construtores e métodos. É por isso qu...

3 min read · [audesviante.hashnode.dev](https://audesviante.hashnode.dev/campos-e-metodos-em-enum?utm_source=hashnode&utm_medium=feed)

[JHK Infotech](https://hashnode.com/@himanshu0220) · [Sep 27, 2025](https://hashnode.com/posts/enumerators-in-java-a-complete-guide-with-examples/68d77544c0f2f1510c5888e1)

### [Enumerators in Java: A Complete Guide with Examples](https://jhkdigital.hashnode.dev/enumerators-in-java-a-complete-guide-with-examples?utm_source=hashnode&utm_medium=feed)

Learn everything about enumerators in Java. Explore syntax, examples, enum with values, iteration methods, and differences between enums and Enumeration int

6 min read · [jhkdigital.hashnode.dev](https://jhkdigital.hashnode.dev/enumerators-in-java-a-complete-guide-with-examples?utm_source=hashnode&utm_medium=feed)

[TechSolve Central](https://hashnode.com/@techsolve94) · [Aug 28, 2025](https://hashnode.com/posts/supercharge-your-php-enums-with-archtechxenums-boost-your-code-like-a-pro/68b06639d74b2be37d168fb7)

### [Supercharge Your PHP Enums with archtechx/enums – Boost Your Code Like a Pro!](https://techsolvecentral.hashnode.dev/supercharge-your-php-enums-with-archtechxenums-boost-your-code-like-a-pro?utm_source=hashnode&utm_medium=feed)

Unlock the power of PHP enums with archtechx/enums Learn advanced tips, best practices, and examples to write cleaner, faster, and scalable code today! https://dev-talk.com/public/post/supercharge-your-php-enums-with-archtechx-enums#PHP #WebDevelopme...

1 min read · [techsolvecentral.hashnode.dev](https://techsolvecentral.hashnode.dev/supercharge-your-php-enums-with-archtechxenums-boost-your-code-like-a-pro?utm_source=hashnode&utm_medium=feed)

[pikoTutorial](https://hashnode.com/@pikotutorial) · [Aug 19, 2025](https://hashnode.com/posts/how-to-derive-from-an-enum-in-python/68a421045345733ff0c4cc73)

### [How to derive from an enum in Python?](https://pikotutorial.hashnode.dev/how-to-derive-from-an-enum-in-python?utm_source=hashnode&utm_medium=feed)

Welcome to the next pikoTutorial! Recently I'm experimenting a lot with different ways of error handling in Python and I stumbled upon a use case in which it would be very helpful to create an enum by deriving from a different enum. Use case Let's sa...

10 min read · [pikotutorial.hashnode.dev](https://pikotutorial.hashnode.dev/how-to-derive-from-an-enum-in-python?utm_source=hashnode&utm_medium=feed)

[g](https://hashnode.com/@grace-dev) · [Aug 18, 2025](https://hashnode.com/posts/java-enum-class/68a3988aad4924782615e2e9)

### [Java Enum => class](https://grace-dev.hashnode.dev/java-enum-class?utm_source=hashnode&utm_medium=feed)

answers from chatgpt 1. An enum is actually a class In Java, an enum isn’t just a set of constants — it’s a special kind of class.For example: enum AutoGrade { LOGIN, GUEST, ADMIN } The compiler roughly transforms it into something like this: fi...

2 min read · [grace-dev.hashnode.dev](https://grace-dev.hashnode.dev/java-enum-class?utm_source=hashnode&utm_medium=feed)
