This time I’ll be writing about a very simple but powerful technique to reduce boiler-plate caused by cross-cutting concerns. In this post we’ll explore a simple way to encapsulate them in reusable components using the Decorator pattern.
First article of the year! I really wanted to start writing this few weeks ago, but honestly I wasn’t inspired enough. Now that I’ve spent a good portion of the Christmas break reading blogs, books and watching courses on Pluralsight, I still don’t feel inspired enough. I guess it’s due to how I spent the […]
How do you make sure an entire software you wrote works? And how would you do that if your system doesn’t have a UI? Well, simply by testing the boundaries of course! From time to time I like to extract pieces of code from what I’m working on and create small repos just to showcase […]
This time we’ll talk about the Immutable Builder Pattern, but with a twist: the resulting instance has to be immutable. From time to time I need to move away from the routine, just to avoid getting bored. Also, taking short breaks might help viewing things under a different perspective. Anyways, while working on Statifier I felt the […]
Yes. I mean, don’t even think about it. You’ll need all of them, probably in different measures, but there is no “we shipped to production without tests”. Tests are the first rampart separating you from madness and failure. Why madness? Try to do even a small refactoring after you’ve deployed your app. Without automatic tests […]