Aggregate Pattern

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. Problem Imagine that you’re

Continue reading

The Stepdown Rule

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

Continue reading

Entity Objects Power Ranking

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

Continue reading

Reactive Clean Architecture with Vert.x

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

Continue reading

How to Be a Better Code Reviewer

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. Don’t

Continue reading

DCI Architecture is Visionary

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

Continue reading

Clean Architecture is Screaming

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

Continue reading

Package by Feature is Demanded

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

Continue reading

Optional Method Parameters

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

Continue reading

Onion Architecture is Interesting

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

Continue reading