Home

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…


Follow My Blog

Get new content delivered directly to your inbox.