JavaScript to ReScript

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

You make the exact points I have recently come to myself personally about all those languages. F# would have been amazing if Microsoft actually cared about things that don't directly bring them money... Right now I have pretty much realized that if I want an ML language or at least a sound language on the web that works nicely with the ecosystem, it's probably going to be ReScript. ReScript looks like it has the potential to replace TypeScript for me for both frontend and backend.

PaulSebastianManole
Автор

You summarized very well my exploration of new languages and my feelings. Keep it up

Danielo
Автор

Great talk! Just wish it supported generator functions it can be used with redux-saga. This would mean that side effects could be type checked properly.

spirobel
Автор

Great video 👍 Love your presentation style and the historical perspective! Thanks for sharing

andersmellson
Автор

Hey, I noticed you recently on the ReScript or Reason forum. Now you're doing ReScript videos. Pretty small world.

leonf.
Автор

i was SO excited about rescript. I read through most of the documentation until i got the the async/promises section and found out they dont have Async/Await yet! Such a bummer...Although I did read a post in their forum that they have a functioning prototype.

irlshrek
Автор

I'm currently evaluating Rescript, as well as Dart/Flutter for frontend. Dart now has "no null exceptions", and now Flutter web is in stable. The only thing is no SEO. Which is not such a big deal for some projects.

leonf.
Автор

I've just read Rescript on title and hit the like button

DaniloJr
Автор

For data-last you can use |>, like so: data |> fn |> fn2

katkatfarkat
Автор

So you're saying stick with Elm for frontend, good to have that cleared 🌈

nrrgrdn
Автор

GREAT information - however, you really made me want to pick my nose hairs and get a hair cut. lol I particularly liked the part toward the end about how javascript interop works. I still don't get it entirely. But it'll come.

kylegaijin
Автор

Great talk. What's the frontend story here? Can you manipulate the dom with rescript?

zomakaja
Автор

soon as I bought a book on reasonml they changed the name and language

andrewwarren
Автор

24 years of JS programming, never had a null pointer error. Must be doing something wrong.

marccawood
Автор

I looked at ReasonML/Rescript a while ago. The tooling was meh, the error messages weren’t that good and I didn’t like the corporate backing (by Facebook) that much.

Why didn’t you choose OCaml itself? That seems like quite a mature ecosystem. And then Buckle to compile it right?

it_is_ni
Автор

Does ReScript have support for higher kinded types?

krisdabrowski
Автор

Rescript breaking away from OCAML compatibility was the worst decision they could have made, now the value proposition is to bet on a completely isolated programming language with a TINY user base run by volunteers.

I was so sad to see the ecosystem split in this way, libraries are still a mess, build story is not nearly as clean as it’s reported to be…

ReasonML’s premise was the correct one, maintaining OCAML compatibility is THE FOUNDATION of any real chance at getting adoption - Typescript doesn’t have to try to be the number one JS transpiler because all the other viable options just end up shooting themselves in the foot.

You have to have some foresight when you do these things. This sucks.

pookiepats