Tag General
Nulls in Value Objects
Today, we’ll discuss an interesting use case of handling nulls in value objects. Should you put null
inside the value objects themselves or decorate those value objects using the nullable reference type notation (?
or Maybe
)?
Static methods considered evil?
Are static methods good or bad? Over the course of my career I did a full circle on this topic. In this article, I’ll try to describe this evolution and the reasoning behind it.
1