I’ve recently done some reading on DDD and Aggregates in particular. Since many people struggle to understand the pattern, I decided to try to explain it myself.
Imagine that you’re
It has recently occurred to me that some people are ordering the functions in a class randomly, mostly based on gut feelings. It’s a good indicator that we should rehash the old, simple but very
There seems to be an ever-ongoing discussion about how powerful should an entity object be. That’s indeed a very valid discussion as the choice that we make (often unconsciously) will have a huge
I have recently written about Clean Architecture and provided an implementation example by Uncle Bob himself. This time, we’ll look at the implementation from a bit different angle i.e. is it possible
A couple of weeks ago, I gave you a few hints on How to Be a Better Code Reviewee. This time, we’ll look at the other side of code reviews and examine some good practices for code reviewERs.
Welcome in the 6th installment of my architecture series. So far we have covered 5 similar architectural styles, from the Layered Architecture to the Clean Architecture. In this article, we’ll look
Welcome to the fifth installment of little architecture series! So far we have covered layers, hexagons, onions and features. Today, we’ll look at a close friend of all four – Uncle Bob’s
In the DZone comments under my post about Layered Architecture, there have been voices that layering should be realized as what I call Packaging by Feature. I intentionally delayed writing about this to
I have recently come across an interesting problem: should you use Optional as a method parameter type? The majority of sources says that you shouldn’t, but let’s weigh the arguments before
After Layered and Hexagonal architectures, the time has come to talk about their close cousin – the Onion Architecture initially introduced in a series of posts by Jeffrey Palermo.
What is Onion