PinnedScala & the Three ImplicitsAfter writing my three-part series on Options, Try and Either, which ended with the added bonus of explaining the elusive Monad, I’ve been wanting to write another series—again, aimed at the beginning-to-medium-level Scala programmer, that would inspire people to explore another cool and power aspect of Scala centered around Typeclasses…Scala6 min readScala6 min read
Apr 4, 2022Introducing Scopes in ZIO 2.0Guidance for the sudden switch from ZManaged (updated for 2.0-RC6) Like so many people, I have been eagerly awaiting the release of ZIO 2.0. As an interested newcomer to ZIO, I’ve been waiting for the right moment to really “dip my toes” into giving ZIO a series effort. My current…Zio10 min readZio10 min read
Mar 31, 2022Grokking ZIOAfter a long evolutionary journey, the 2.0 release is a great time to jump in. I have been learning and using Scala for about eight years now, ever since I first became involved with a Spark-based project. My own journey has been fun and enjoyable, and I was incredibly lucky…Zio9 min readZio9 min read
Mar 28, 2022Putting it all together with Type ClassesThe Final chapter on the Scala Implicits Journey Now that we have explored the “three implicits” in Scala, it’s time to put everything together in a way show the deep and profound way that Scala can simplify complex problems. …Scala8 min readScala8 min read
Mar 28, 2022Understanding Implicit Parameters (with a Primer on Currying)Third of the Implicit Sisters, but not the end of the story. This is the third part of a four-part series. If you want to read about all the three forms of “implicit”, you might want to start here. …Scala5 min readScala5 min read
Mar 28, 2022Implicit Classes, i.e. ExtensionsSeries part 2, from “Scala and the Tree Implicits” In the first article of this three-part series, we learned that Scala 2.x used this keyword “implicit” that was used in three distinct (and slightly confusing) ways. …Scala4 min readScala4 min read
Feb 28, 2022Understanding the “Found ZIO.Task Required ZIO.ZIO” dilemmaIn my “beginner ZIO” journey, I just hit one of those “light bulb moments” where something that has stymied me countless times suddenly makes sense, and hopefully this little article can help anyone with a similar scenario. Supposed I want to do something in a nice ZIO-ish failsafe way like…Zio3 min readZio3 min read
Apr 21, 2021Scala Functional Programming with Spark Datasets944Eric TomeThanks for writing this.Thanks for writing this. I'm bookmarking it so I can refer back. I like the focus on cleanliness and the useful helper toDS function. (And it's good to see another Scala person here in Austin!)1 min read1 min readThanks for writing this. I'm bookmarking it so I can refer back. I like the focus on cleanliness and the useful helper toDS function.(And it's good to see another Scala person here in Austin!)----1
Mar 12, 2021Bottom of the Rabbit Hole: for-comprehensions and monadsThis is the third in a series of articles intended for Scala Beginners to understand how to write clean code using Option and Try and Either. Part one introduced these typeclasses and demonstrated how to avoid the awkward “test and unsafe-get” approach by using pattern matching of “map”. …Monads5 min readMonads5 min read
Mar 12, 2021Diving deeper into Scala’s Option, Try & EitherThis 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…Scala11 min readScala11 min read