Implicit Classes, Scala.
value type. On the other hand, implicit classes that do not extend AnyVal are treated as normal classes and can have multiple constructor parameters, additional fields, and more complex logic. So whether or not an implicit class should extend AnyVal depends on the specific use case and the intended