~/talk

Single Value Objects: where DDD and Functional Programming Share Forces

TalkinItalianat Build Stuff 2020 · 2020-11-11..11-15· [software-architecture, functional-programming]
links:none on file
slides:none on file

Describes using Single Value Objects (types that encapsulate a single domain value plus validation, normalization and units) to eliminate primitive obsession in DDD and functional code. Gives concrete examples like money (amount + currency), percentages (parsing/rounding), and date-only types, and demonstrates an open-source .NET library, QWave, which provides a NuGet package and code generator for factories and custom JSON/XML serialization. Covers real-world pitfalls (the 1998 NASA 3% unit mismatch) and shows IBAN parsing, equality rules, and serialization conventions used in production systems.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Single Value Objects
  3. 4:22Code clarity benefits
  4. 7:37Normalization and formatting
  5. 13:43Domain logic and operations
  6. 17:40Serialization and communication
  7. 20:42Serialization challenges
  8. 23:57Equality and conventions
  9. 25:26Q wave library reuse
  10. 27:00When to avoid SVO
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.