We all have pretty little things laying around in our codebases, yet, we seldom give them the same love
We all have pretty little things laying around in our codebases. They’re not exactly The Big Thing™, but they’re nice and useful nonetheless. They’re bits of specifications, or schemas, or even documentation. Yet, we seldom give them the same love we give to our actual code, and our poor little things just stay there, unloved and half-forgotten. But we can do better and give these things the love they deserve, by writing them “pretty little compilers”.
I'll share a handful of techniques that can help you avoid runtime errors and shift them to the realm of compile time
As WebAssembly matures and gets more and more traction from the community, you might wonder can Scala join that trend?
Let's take a look at the issues that enums have in Scala 2 and whether we found the Holy Grail with the introduction of Scala 3.