Functional Programming Strategies

Subscribe
Archives
March 21, 2024

OO in FP, or codata in Scala (with Cats!)

Hi!

When the previous email went out in December I certainly wasn't planning on it being March before the next one. The chapter I was working on took a lot longer than I expected. I think it was worth it though, because this chapter is all about codata, which most programmers will recognize as object-oriented programming. I think it's important to show that OO and FP are not fundamentally at odds, especially when I'm using Scala for my examples. I also took the time to update the build to produce HTML as well as PDF output (though the PDF remains the main target) and, yeah, I renamed the book. Scala with Cats just wasn't right for what the book has become. The URL hasn't changed though. You can find the latest draft at:

https://scalawithcats.github.io/scala-with-cats/

The majority of the remaining work is updating existing content, which I hope to get through a lot faster.

Regards,
Noel

P.S. As always, big thanks for my sponsors! Y'all are the best!

Don't miss what's next. Subscribe to Functional Programming Strategies:
Powered by Buttondown, the easiest way to start and grow your newsletter.