Re:Java 21 makes me like Java again
by trenchgun on Sunday September 17, 2023 @03:32AM
(#37542451)
>Answer in the piece is not wrong, but put more intuitively and succinctly: the total number of possible value (inhabitants) in a product type is the product of the quantity of inhabitants of the constituent types.
More intuitively and succintly: product type is equivalent to a cartesian product of sets
More intuitively and succintly: product type is equivalent to a cartesian product of sets