Our great sponsors
-
I'm a go developer who started learning ocaml roughly a year ago and I've fallen in love with it. I'be tried a couple of fp languages before. They've never clicked with me but ocaml did. I don't blame the other languages tho as it's because of the excellent course cs3110 by Michael Clarkson why it finally clicked. Ocaml still has a lot of sharp edges especially in terms of tooling, up to date "best practices" etc which is surprising for how old ocaml already is. But something is happening within the ocaml community. Amazing libraries are popping up left and right and you can feel how this mature language with its small community is just a couple of small steps away from gaining way more adoption. Just today the new ocaml.org launched. I'd say now is the time to join the ocaml community.
-
Just one tip: if you have any trouble with ocaml , the language has an alternative syntax made by Facebook called ReasonML that aims to make the language easier for people coming from other languages. This helped me a lot when I was learning ocaml.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
Elixir
Elixir is a dynamic, functional language designed for building scalable and maintainable applications
If you want a more quantified comparison, here is Elixir's parser, and here is OCaml's. Removing a lot of the function definitions that are left in ocaml's parse file, we can still see that Elixir's syntax is about a third of Ocaml's. For reference, Java would be about twice as much as OCaml's. Elixir does have some sugar on top of things that might not be necessary, e.g. sigils for strings and so on, but if you compare core elixir to core ocaml (or most other functional languages), or you compare full Elixir to full OCaml, you see that it's a smaller language. And to me, it provides overall a very Go-like experience.
Related posts
- Editor Support for ReasonML in VSCode with Melange
- Found in my own code from less than a week ago. I don't know what I was thinking...
- How long did it take you to get good at React?
- Using `let.opt` in Rescript with latest Reason/OCaml
- functional programming and choosing the best fitting frontend framework (Vue 3 vs React)