3 ms·
How so? JS already has operators, but placeholders is a totally new concept
by pharmakom 4y ago
How so? JS already has operators, but placeholders is a totally new concept
- mkl 4y agoIs there another JavaScript feature that looks like a list of function names but which causes actions to be performed? Or operators that operate on both functions and values? The placeholders are very similar to variables, so do what they look like they do, and it's only the implicit definition that is new. The explicit placeholders feel much more like JavaScript to me than the implicit function calling of the F# proposal.
- pharmakom 4y ago- functions and lambdas are already first-class values in JS - we already have operators on values, such as + - |> is just another operator on values