6 ms·
some people said in the Reason3 update article that F# is better suited for JS devs than OCaml.
by k__ 9y ago
some people said in the Reason3 update article that F# is better suited for JS devs than OCaml.
- genzoman 9y agoi 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.
- tpetricek 9y agoThe 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 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.
- mcintyre1994 9y agoYou might find this an interesting read about C#/F#: https://fsharpforfunandprofit.com/posts/is-your-language-unreasonable/ https://fsharpforfunandprofit.com/posts/is-your-language-unr...
- delhanty 9y agoHere's a link to that thread: https://news.ycombinator.com/item?id=15574409 https://news.ycombinator.com/item?id=15574409
- hajile 9y agoOcaml 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).
- wtetzner 9y ago> (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.
- pjmlp 9y agoThe syntax might be better, but the "ML for the Working Programmer" book was the only place I actually saw some SML code being used.