|
|
|
|
|
by substation13
1311 days ago
|
|
> My only hope is for ECMAScript (or maybe TypeScript) to introduce these OK/Err/Maybe/Task concepts as a language feature When using these concepts the need for do-notation comes up pretty quickly. It would be like using JS promises without the async keyword! Of course, follow this to it's conclusion and you will have a functional language. |
|
To improve or change a language, I think you should get rid of another feature if it solves the same problem, instead of add another option.