5 ms·
I'm yearning for the Golang of functional programming. That is, excellent std lib, clear documentation, awesome tooling, active community.. and after typing thi
by spraak 10y ago
I'm yearning for the Golang of functional programming. That is, excellent std lib, clear documentation, awesome tooling, active community.. and after typing this, maybe that's Elixir? Though I do love static typing.
- yawaramin 10y agoYou may be interested in https://facebook.github.io/reason/ https://facebook.github.io/reason/ They have an active community that is very engaged in improving the entire developer experience. Plus ReasonML is just OCaml under the (new syntax) hood so you have decades of OCaml expertise and libraries to draw on. In case that's not enough, it also deploys to JavaScript and targets the npm ecosystem, so you also have the entire npm package collection at your disposal.
- spraak 10y agoWow, thanks very much for sharing that!
- Kexoth 10y agoI was thinking about this a year ago & decided on Elixir. So far I have no regrets. As you mentioned Elixir satisfies all the conditions you mentioned. For the static typing part, I agree. But since there's no OOP, the flow of the information throughout the app is pretty explicit & the reasoning behind it is easy to be debugged.
- im_down_w_otp 10y agoThere is static type checking/analysis available. Just use Dialyzer.
- Kexoth 10y agoYou're right. I've used it once as a part of an exercise in the "Programming Elixir" book and never again. It should maybe come bundled with mix, as some other tools, that way it'll be more approachable. Also there's a wrapper for it, which helps in the process.[0] [0] - https://github.com/jeremyjh/dialyxir https://github.com/jeremyjh/dialyxir