Re:Typing Is Hard
by jbluepolarbear on Friday February 19, 2021 @01:33AM
(#26190379)
I don’t know if I do care that customer is or isn’t a supplier. I have been using Nominal type systems in C++ and C# for a long time and I’ve started drifting into an architecture style that leverages interfaces as my types which I just learned is structural typing. I really liked the concept in Golang and then I really started using it in TypeScript and got hooked. It makes so many programming problems easier to implement, maintain, and understand. I now mix and match nominal and structural types in my projects, using them where they best fit.
[ Parent
| on HN ]
There are no comments on this comment yet.