Welcome to Hernansote’s blog
Scala Data Validation Series Part 1- Why You Should Become Familiar With Monads (For Comprehensions) And Either[E, B] For Validating Data
My goal in this first part is very humble, to convince you to stop, for God’s sake, stop throwing exceptions during your data validation in Scala. I will provide you with friendly incremental examples to make a case that… Throwing exceptions in Scala is self limiting: throw new Exception(“kaboom”) # Please never do this And […]
Part 2: The SMAkkaR.js Stack- Using monocle and akka to facilitate model and component reusability in a react scala.js application
In our our previous blog we used akka to manage the state of our application. Here is a list of benefits we get so far: Leveraging akka as the delegated entity to modify the state of a single page application. Unlike redux, we can use type pattern matching to identify a message type, making the […]
Follow My Blog
Get new content delivered directly to your inbox.