BBondarenkoinv-bondarenko.hashnode.dev·Nov 18, 2023 · 5 min readWriting simple validator with Scala 3In my previous article we discussed some approaches to validating using Cats and Scala 3 mirror types. In this article I shed light on how to write a simple validation library using Scala 3 metaprogramming. Let's say we have a case class Planet : cas...00
BBondarenkoinv-bondarenko.hashnode.dev·Jun 25, 2023 · 5 min readValidating in ScalaLet's talk about validating in Scala in a functional programming way. Consider the following scenario: you are working on a project connected to finding exoplanets in the habitable zone. One of your tasks is writing an accumulative validator for plan...00