3 ms·
I've bean a fan of Gleam for a while, so please take this as more of a critique of the writing rather than of the project, but I am missing a strong rationale f
by gampleman 5y ago
I've bean a fan of Gleam for a while, so please take this as more of a critique of the writing rather than of the project, but I am missing a strong rationale for why? What does compiling to JavaScript practically bring or enable? Other than having yet another way to write front-end programmes without the benefits of a strong ecosystem?
- lpil 5y agoIt enables Gleam developers to write Gleam code in a wider variety of situations. Web frontends are one obvious example (though as you say there are more mature ecosystems for that) but there are many others, some of which are listed in the post. I think it is unlikely many people will pick Gleam to make just a web frontend, but if you have a Gleam backend it may be more appealling to also use it on the frontend so that you can share code and type definitions between them. In future a full stack Gleam web framework may also take care of the typically JSON API boilerplate between the front and back ends. I can see myself using Gleam on AWS lambda and on Android in the near future using the JavaScript backend.