scribe
The fastest logging library in the world. Built from scratch in Scala and programmatically configurable. (by outr)
Enumeratum
A type-safe, reflection-free, powerful enumeration implementation for Scala with exhaustive pattern match warnings and helpful integrations. (by lloydmeta)
Our great sponsors
scribe | Enumeratum | |
---|---|---|
0 | 2 | |
396 | 1,104 | |
1.3% | - | |
9.1 | 5.0 | |
3 days ago | 29 days ago | |
Scala | Scala | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
scribe
Posts with mentions or reviews of scribe.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning scribe yet.
Tracking mentions began in Dec 2020.
Enumeratum
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
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
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).
What are some alternatives?
When comparing scribe and Enumeratum you can also consider the following projects:
Shapeless - Generic programming for Scala
Scala Async - An asynchronous programming facility for Scala
Log4s - High-performance SLF4J wrapper for Scala.
Each - A macro library that converts native imperative syntax to scalaz's monadic expressions
Scalaz - Principled Functional Programming in Scala
Chimney - Scala library for boilerplate-free, type-safe data transformations
cats - Lightweight, modular, and extensible library for functional programming.
Ammonite-Ops - Scala Scripting