3 ms·
If it helps, here's a related blog post but with a C# slant: https://andrewlock.net/using-strongly-typed-entity-ids-to-avoid-primitive-obsession-part-1 https:/
by GordonS 5y ago
If it helps, here's a related blog post but with a C# slant:
https://andrewlock.net/using-strongly-typed-entity-ids-to-avoid-primitive-obsession-part-1 https://andrewlock.net/using-strongly-typed-entity-ids-to-av...
The author refers to using primitives everywhere as "primitive obsession", and proposed using types instead.
- dmux 5y agoSimilar to the idea of "microtypes" (I've most often seen it used in Java circles): https://www.markhneedham.com/blog/2009/03/10/oo-micro-types/ https://www.markhneedham.com/blog/2009/03/10/oo-micro-types/