Diving deeper into Scala’s Option, Try & Either

This is a continuation of my earlier post Scala for Beginners: How to really use Option. This topic is based on a recent presentation I gave to my local Austin Scala Enthusiasts Meetup. The video and slides for that can by found on my website.

When I was writing the first article, I was trying to create a very simple example with some hypothetical getEmail function to fetch an email address from a customer database and a sendEmail function that would send an email invitation to someone. I found that, despite my attempt to keep things simple, it…