7 ms·
Think this is answer. It isn't technically needed to be called 'functional', but it is so integral to type systems that it seems to be used in all functional l
by FrustratedMonky 3y ago
Think this is answer. It isn't technically needed to be called 'functional', but it is so integral to type systems that it seems to be used in all functional languages. Maybe we can call 'match' statements an emergent phenomena of functional languages.
- agumonkey 3y agoand i'm sure the idea floated around in non FP languages too, but 1) mutable programming shifts the idioms very very far away from passive destructuring, they like to deref pointers and reuse memory cells 2) it's also linked to parametric type systems I believe, which was missing until cpp/java5 in the mainstream (while FP had this since milner which was in the 70s)