Skip to content
Sven Hübner IT
  • Home
  • Blog

domain primitives

  • Home
  • Blog
  • domain primitives

Domain Primitives III: easily creating domain-primitive-based data structures from raw data

Posted by By sven.huebner.it May 30, 2021Posted inGeneral Development
Only a couple dozen lines of helper code enable easy construction of validated data structures out of raw data as well as proper error tracking.
Read More

Domain Primitives II: forcing developers to deal with error cases

Posted by By sven.huebner.it December 11, 2020Posted inGeneral Development
Using a static method with a Result return type for creating domain primitives forces developers to deal with error cases.
Read More

Gotcha with C# 9 Record inheritance and ToString()

Posted by By sven.huebner.it November 20, 2020Posted inGeneral Development1 Comment
On record types, ToString() and other compiler-synthesized methods cannot be overridden up the inheritance hierarchy in parent records, but must be overridden in the concrete record.
Read More

Domain Primitives I: easily declaring domain primitives

Posted by By sven.huebner.it November 19, 2020Posted inGeneral Development1 Comment
A domain primitive base class makes declaring domain primitives a breeze.
Read More

My Take On Domain Primitives

Posted by By sven.huebner.it November 4, 2020Posted inGeneral Development2 Comments
Domain Primitives are a stand-alone low-risk way to incrementally fortify your application, without the risk and complexity of introducing concepts like DDD, algebraic data types or immutability.
Read More
Copyright 2025 — Sven Hübner IT. All rights reserved. Sinatra WordPress Theme
Scroll to Top