Wtf is this language, and why the fuck would anyone code in it?
I might have just been a really slow learner with this, but it took me like an hour just to figure out how to assign variables.
I'm probably just shit with functional languages. What is /g/'s take on OCaml?
Writing a website using ocaml was the best decision so far.
>>62396808
It's excellent, except for parallelism support. It's the future of webdev, or so Facebook thinks. Don't tumble In the dark, read a book like Real World OCaml.
>>62396808
Learning FP is like learning to program for the first time, give yourself time.
OCaml is good, but I feel languages like Scala or F# have all the nice features of OCaml and are better supported and run more efficiently.
>>62397239
>Scala
OCaml's main advantage over Scala is simplicity. Scala is like C++, a huge language with Matrix-style shelves of footguns that stretch out into the horizon.
>F#
F# doesn't have modules, ADTs, structural typing, etc. Its type system is gimped for the sake of .NET compatibility. It does have nice new features of its own, like workflows and type providers, but I think those aren't enough to compensate for what it's missing. Is being able to use .NET libraries worth it? I am not sure. It isn't the JVM with its endless libraries, and a lot of the more famous libraries are clones of something for the JVM.