Skip to main content
  1. Refs/

Domain Driven Design

·1 min
Table of Contents

Go To References #

  • []

Videos #

  • Primitive Obsession | Code Walks 055 - Christopher Okhravi - Using int to represent age vs Age for living people: the set of valid integers is greater than the set of valid ages – not all valid integers are valid ages / all valid ages are valid integers. Using Age allows for validation, formatting, comparisons, and makes dependencies explicit.
    • Are all values for this object (int, string, etc.), valid values for this domain concept (name, age, etc.)?
    • “Good architecture is to maximize the number of decisions not made” - Uncle Bob
Rishi Maharaj
Sr. Software Engineering Manager

comments powered by Disqus