3 ms·
It's more limited than what you'd ideally want: pattern matching in function definitions. This makes walking ASTs a breeze. Edit: And inline pattern matching f
by troupo 3y ago
It's more limited than what you'd ideally want: pattern matching in function definitions. This makes walking ASTs a breeze.
Edit: And inline pattern matching for values returned from expressions and function calls (similar to destructuring, but more powerful).
- pjmlp 3y agoI would say what C#11 does is already quite good, likewise for Swift. Perfection is the enemy from good. Those I can use at work, ML derived languages not, even F# is an uphill battle in most shops.