I really, really hope JavaScript eventually gets support for:
- User defined Sum types
- Pattern matching on these Sum types in switch statements
- Blocks and things-that-are-currently-statements becoming expressions that evaluate to a value.
If it got those, then it would pretty close to the perfect dynamic language for me.
- User defined Sum types - Pattern matching on these Sum types in switch statements - Blocks and things-that-are-currently-statements becoming expressions that evaluate to a value.
If it got those, then it would pretty close to the perfect dynamic language for me.