Exploring ReasonML and functional programming
reasonmlhub.com
Exploring ReasonML and functional programming
1–10 of 65 posts
Re: Exploring ReasonML and functional programming
#2Re: Exploring ReasonML and functional programming
#3Re: Exploring ReasonML and functional programming
#4https://github.com/facebook/reason/commit/e8fb73ec6ff7c31367...
(As of 12/2017, relicensed to straight MIT from BSD+patent.)
Rauschmayer's work here makes me interested in the language and motivated to learn it. After reading more, only wish I'd explored for a recent project where I was working to implement a lot of functional patterns in native JS.
Any thoughts about ReasonML vs "straight" OCaml? (Or does that question even make sense?)
Re: Exploring ReasonML and functional programming
#5FYI for anyone who was fuzzy on the license/patent situation with the project: https://github.com/facebook/reason/commit/e8fb73ec6ff7c31367... (As of 12/2017, relicensed to straight MIT from BSD+patent.) Rauschmayer's work here makes me interested in the language and motivated to learn it. After reading more, only wish I'd explored for a recent project where I was working to implement a lot of functional patterns in…
Does anyone know where this new wave of interest came from?
Re: Exploring ReasonML and functional programming
#6Why should someone unfamiliar with functional style programming be learning ReasonML rather than say, something like, haskell? Looking for concrete, technical answers.
ReasonML is basically OCaml that compiles to JS, designed to make interoperation with Javasascript easy. There are compile to JS projects for Haskell too, but the ease of interoperability with popular JS libraries like react and support from facebook's open source tooling chain make it a much better choice for most frontend projects IMHO -- unless you're already a haskell expert in which case go with what you already know!
Re: Exploring ReasonML and functional programming
#7Why should someone unfamiliar with functional style programming be learning ReasonML rather than say, something like, haskell? Looking for concrete, technical answers.
It just cost me so much time to constantly think about IO that I was barely figuring out what I wanted to write. It seemed impractical to me and now with some more experience I still think it is. Ocaml type languages strike a better balance in my opinion if you're interacting with the world.
Re: Exploring ReasonML and functional programming
#8Why should someone unfamiliar with functional style programming be learning ReasonML rather than say, something like, haskell? Looking for concrete, technical answers.
You wouldn't choose it over haskell every time, but for the limited subset of times where you need to write frontend code ReasonML has distinct advantages. ReasonML is basically OCaml that compiles to JS, designed to make interoperation with Javasascript easy. There are compile to JS projects for Haskell too, but the ease of interoperability with popular JS libraries like react and support from facebook's open source…