Re:Fable: F# to JavaScript compiler
by k__ on Sunday October 29, 2017 @05:31PM
(#15581528)
some people said in the Reason3 update article that F# is better suited for JS devs than OCaml.
[ Parent
| on HN ]
i saw somewhere an article mentioning "why don't more people write f#" (mebbe it was on h/n)? I have never had to really worry about concurrency and if you've got a good familiarity with C#, you're halfway there to being a very productive in TypeScript, so I don't see exactly where F# fits in, considering the best parts of C# are its functional bits.
The fact that the best parts of C# are its few functional bits might be a good hint that if you had a language that was designed around those good bits, it would be so much better ;-).
I don't expect to convince anyone in a HN discussion, because that's not how arguments about programming languages work, but have a look at testimonials (http://fsharp.org/testimonials). You'll see that many people who started using F#, are very happy with it because it lets them solve problems faster with fewer bugs and they enjoy it more.
Re:Fable: F# to JavaScript compiler
by mcintyre1994 on Monday October 30, 2017 @09:45AM
(#15584924)
You might find this an interesting read about C#/F#: https://fsharpforfunandprofit.com/posts/is-your-language-unr...
Ocaml is the worst variant of ML in my opinion. Like usual, programmers always seem intent on making the worst option the biggest one (seriously, SML syntax is better than Ocaml syntax in almost every way).
> (seriously, SML syntax is better than Ocaml syntax in almost every way)
Except that for the most part, that's subjected, and even more importantly, there are plenty of reasons to prefer OCaml over SML even if you don't like the syntax.
The syntax might be better, but the "ML for the Working Programmer" book was the only place I actually saw some SML code being used.
Here's a link to that thread: