Although we generally prefer tolerating faults over preventing faults, there are cases where prevention is better than cure

Designing Data-Intensive Applications
from Martin Kleppmann 📕