by alkonaut · 12y ago · 0 comments
The most important thing in my opinion is tools and platform support. Show me a fast, good looking IDE with good autocomplete/intellisense/integrated debugger and UI tools for ML. See?
Is there an abundance of libraries and api wrappers available (that doesn't require you to do straight C-interop)? See?
Also: the design of a language should be done with the tools in mind. While there is not much difference between norm(vec) and vec.norm() the latter is the form that supports autocomplete. So even for functional languages, being able to use member properties and member functions is an absolute reqirement to support the tooling that we expect.
You could say that F# dominates C#. It has almost the same tool and library support, while having the features you expect from an ML type language.
The difference between norm vec and vec.norm() is that the function can be used in a higher order function while the method would require wrapping it in a lambda to achieve the same thing and would probably still break your tool's ability to autocomplete if you used it that way.
You're basically insisting that an FP language needs to include an embedded OO language to be usable.