Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

OCaml seems to match a majority of the criteria, though AFAIK no "good IDE" (tooling like merlin is available, but if you're looking for e.g. a refactoring IDE you're probably SOL), the ecosystem is small, and it does have some historical baggage.


> - clean (nice syntax ...)

Just looked at wikipedia examples and the code is full of special chars and shortened keywords. Doesn't look nice or simple to me, tbh.


I guess beauty is in the eye of the beholder, though your eye seems questionable, the only "shortened keywords" I can find in the wikipedia page are "rec" (which is a long-standing shortening of "recursive" in recursive lets) and "fun" (for functions).


As another commenter mentioned, you might want to try out Reason [0]. It's a new-ish programming language from Facebook that uses OCaml as its backend.

[0] https://reasonml.github.io


SML is what Ocaml should have been. With a few small syntactic changes (mostly to add some nice-to-have features), SML syntax would be better in every way instead of almost every way.


And with the ReasonML frontend there is a much more approachable-for-other-language-refugees syntax to it.


OCaml is great, but F# is better for almost every one of his bullet points.


Only if it gets again more love from .NET team.

As it stands, I would rather bet on OCaml.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: