Alexander Alves·Sep 6Capítulo 13 — Estados mais seguros com enum classSérie: Do zero ao jogo comercial com C++ e SFML
Kishor Ramani·Mar 20Kotlin Fundamentals Part 21 — Enum Classes — Fixed Set of Constants 🎨When you have a fixed set of constants, Enum is your friend! 🏆
Sachin kumar locham·Dec 7, 2025“Stop static_casting Your Enums — Meet std::to_underlying in C++23”A small but highly effective utility introduced in C++23. In modern C++ (C++11 and later), we prefer enum class (scoped enums) over "old…
Jamshidbek Boynazarov·Aug 19, 2025Harnessing Kotlin 2.2’s Enum Class Values for Robust Android State MachinesI’ve spent too many nights untangling state management bugs in Android apps, where a single misstep in navigation logic sent users to the…
REIT monero·Jun 2, 2025Kotlin’s Sealed Classes vs Enum Classes: When to Use Which?Kotlin’s sealed classes and enum classes are both used when you have a fixed set of types or states to represent — but they serve…
CodeAddict·May 13, 2025cpp_030: C++ EnumerationsIn this post, we’ll explore enumerations (enum) in C++, a powerful feature for defining a set of named constants. Enums are perfect for…
Yodgorbek Komilov·May 1, 2025📌 Kotlin Day 16: Sealed Classes vs Enum Classes — What’s the Difference?Both sealed and enum classes help you represent restricted types, but they serve different purposes in Kotlin. Let’s break it down with…
Pouria Rezaie·Oct 18, 2024Understanding Enum Classes in Kotlin and How They Differ from Sealed ClassesIn our previous article on sealed classes and when expressions, we explored how sealed classes provide a powerful tool for handling…