• DDD and FP can be friends

    DDD (Domain Driven Design) is not tied to a particular programming paradigm and strategic and tactical design choices apply to the architecture and code level. This article was triggered by a talk that does not align with my thinking and experience with DDD and FP over the past y…

  • Simplifying if-complexity in FizzBuzz

    In this series, I've mentioned that using an if-expression in the FizzBuzz problem can be more error-prone and complex compared to functional approaches. In this brief article, I'll demonstrate why that's the case. Let's start with a simple working implementation using ifs: // Co…

  • FizzBuzz Functional Fun in Scala 3

    Nearly a decade ago, I wrote a post about implementing FizzBuzz in a more functional manner, which also happened to be the final entry on a blog I started that year. Now, I want to dedicate more time to writing, and rebooting my blog seems to be a good way to achieve this. What b…

  • FizzBuzz Functional Fun in Scala

    Updated with a more functional implementation of FizzBuzz November 2015 Updated with a link to an implementation using Monoids July 2016 FizzBuzz fun in Scala using Scala Streams. The straightforward implementation of FizzBuzz usually involves defining a list or array of fixed si…