-
In this post, we will continue from where we left off in a previous article in this series, "FizzBuzz Fun in Scala: Combining Functions," and explore where further abstraction leads us in terms of functional programming design patterns. Our goal is to show that, despite their int…
-
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…
-
Every implementation of FizzBuzz in this series, at its core, has relied on an infinitely counting lazy list. This modelling is logical, as the game can theoretically be played indefinitely. In this post, we will explore the possibility of defining a single function operating on …
-
In previous articles of this series, I examined various implementations and meanwhile experimented with others at different levels of abstraction. However, before delving into those, I wanted to present what I believe to be the most straightforward approach, which allows for easy…
-
In this brief article, I will discuss two insights from the book Fundamentals of Software Architecture: An Engineering Approach by Mark Richards and Neal Ford: the importance of negotiation in an architect's job and an effective communication approach. I will then offer a way on …
-
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…
-
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…
-
Years ago I had a blog and even one what was then called 'a homepage'. The past time I have mostly been sharing my thoughts and interests on Twitter but I have some ideas that would require more than 140 characters so I created this blog to crystallize them when ready.