News for hackers. Stuff that matters.
Re:Parsix: Parse Don't Validate by GordonS on Saturday May 15, 2021 @02:28PM (#27167652)
If it helps, here's a related blog post but with a C# slant:

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.

Re:Parsix: Parse Don't Validate by dmux on Saturday May 15, 2021 @05:29PM (#27169208)
Similar 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/