2 ms·
> Kind of disagree with this article, when you add a "noun" (aka type), you're often introducing a new abstraction. The article is talking about simple "bundle
by default-kramer 2y ago
> Kind of disagree with this article, when you add a "noun" (aka type), you're often introducing a new abstraction.
The article is talking about simple "bundle of values" types; the example is the CreateSubscriptionRequest. This is not an abstraction. It is simply a declaration of all the fields that must be provided if you want to create a subscription. And it is usually superior to passing those N fields around individually.
- darioush 2y agoyeah this is correct, somehow I jumped to a different conclusion :)