Different ways to implement wrappers in Scala

Scala is a great language with many features and a complex type system. It provides many ways to solve the same problem, but each way has its own pros and cons. Unfortunately, it’s a common problem of scala developers to utilize the features of Scala, disregarding the cognitive load that it might bring to the team. In this article, I’ll try to advocate for a simple and easy-to-understand way of implementing wrappers in Scala. ...

February 20, 2022