#databases
Read more stories on Hashnode
Articles with this tag
Accessing a database in domain objects is a code smell. Doing it in a constructor is a double smell · TL;DR: Constructors should construct (and probably...
Primary keys, IDs, references. The first attribute we add to our objects. They don't exist in the real world. TL;DR: Reference objects with objects,...