Earlier quoted context omitted.
If you were right OCaml wouldn't be the only language with a popular syntax veneer.
TypeScript says hi.
Programming a space invader in OCaml and OpenGL: lessons learned
51–60 of 120 posts
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#52ReasonML is adversely affected by it's Ocaml base if anything. StandardML would have been a much better base (they went with Ocaml because it was a lower-effort to implement and Facebook has a lot of Ocaml devs). The first bad part is that Ocaml does not have a language spec. The implementation is the spec. This puts them at the whim of the Ocaml devs with no other options. SML is a standard with several good impleme…
FYI strings are now immutable in OCaml. It was a compiler option starting with 4.02 and it has become enabled by default since 4.06.
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#53Re: Programming a space invader in OCaml and OpenGL: lessons learned
#54Earlier quoted context omitted.
> ReasonML seems to be just sugar coating That’s exactly what it is, no secret about that, that’s the goal of that project.
Which begs the question why not learn the real deal, instead of adding another layer to debug. Programing isn't poetry.
First time I've heard a C-like syntax described as "poetic".
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#55Earlier quoted context omitted.
> ReasonML seems to be just sugar coating That’s exactly what it is, no secret about that, that’s the goal of that project.
Which begs the question why not learn the real deal, instead of adding another layer to debug. Programing isn't poetry.
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#56Earlier quoted context omitted.
Which begs the question why not learn the real deal, instead of adding another layer to debug. Programing isn't poetry.
There is no layer above, it’s not like coffeescript which compiles to another language. It’s literally an alternative syntax.
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#57Earlier quoted context omitted.
Because people who know other programming languages, but not ML, might want to read your code, and it's nice if it looks familiar to them.
That is how languages like Go get designed, pour souls not able to spend some time learning.
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#58Earlier quoted context omitted.
And now it is dead, leaving behind a pile of code to rewrite in next cool toy.
Does Not look dead to me. last activity is within the last 30 days or so. https://github.com/jashkenas/coffeescript/ Its not as popular to be certain, though.
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#59The underlying OCaml naturally. Having learned ML via Objective Caml's predecessor, Caml Light, ReasonML seems to be just sugar coating for those with aversion to ML classical syntax.
> ReasonML seems to be just sugar coating for those with aversion to ML classical syntax. So it's the Elixir to Ocaml's Erlang?
Re: Programming a space invader in OCaml and OpenGL: lessons learned
#60Earlier quoted context omitted.
What's the state of using Reason natively? Last time I checked all the documentation and examples where towards the reason/js/react ecosystem. Are there any good native code projects written in Reason to look at for reference?
People don't do it much, but if you're using the most popular build system (dune) you can replace your .ml files with .re ones and it will Just Work. So you can use OCaml projects for reference (I think anyone who's doing Reason should have a vague grasp of OCaml syntax, it's not really that different).
Especially if you're targeting native, so all your dependencies are written and documented in OCaml syntax.