4 ms·
If it's a language for general programming, I immediately ask if it has sum/product types, pattern matching, and static typing. I'm not really interested in le
by danmg 7y ago
If it's a language for general programming, I immediately ask if it has sum/product types, pattern matching, and static typing.
I'm not really interested in learning yet another dynlang that is missing all those.
- nuclearnice1 7y agoWhat are sum/product types?
- wbradley 7y agohttps://en.m.wikipedia.org/wiki/Algebraic_data_type https://en.m.wikipedia.org/wiki/Algebraic_data_type
- chrisseaton 7y agoIn terms of C, a sum is a union and a product is a struct.