Enumeratum

A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations. (by lloydmeta)

Enumeratum Alternatives

Similar projects and alternatives to Enumeratum

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better Enumeratum alternative or higher similarity.

Enumeratum reviews and mentions

Posts with mentions or reviews of Enumeratum. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-26.
  • Simple, Naïve, and Wrong: More than you wanted to know about Scala Case Classes
    3 projects | /r/scala | 26 Feb 2022
    And for exactly the same reasons one shouldn't override equals and hashCode in a case class, they shouldn't manually implement an enumeration and instead let a well-tested macro (2.x) or the compiler itself (3.x) handle reliably doing the automated code generation. The more code that is generated by the compiler, the smaller the defects, technical debt, and security vulnerability surface areas.
  • A survey of programming language enum support
    2 projects | /r/programming | 21 Feb 2021
    For Scala, check out the enumeratum library (https://github.com/lloydmeta/enumeratum). In my opinion its the best enum implementation I know of. It has all the features defined in the table, and the syntax is really clean. It even supports unique associated values (eg. unique String/Int keys).

Stats

Basic Enumeratum repo stats
4
1,177
5.6
3 months ago
Learn 300+ open source libraries for free using AI.
LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI!
learnthisrepo.com