← Back to context

Comment by jazzypants

10 hours ago

Let me guess: still no string interpolation in a language ostensibly intended for building user interfaces?

Gleam is not ostensibly intended for building user interfaces.

  • I still don't know what gleam is for tbh. I like it conceptually. But interop with for instance elixir libraries is not as seamless as you'd like.

    • I use it mostly for web APIs / services, it's great for that!

      Interop is not seamless since Elixir does not have the same static type system, but it is possible and that does help sometimes. When resizing images for example, I fall back to Elixir's bindings to libvips. I've also used Oban from Gleam in the past.

    • It's a general purpose programming language, like OCaml, Python, or Scheme. It's not intended for any specific business domain.

  • Then, why is JavaScript a compilation target? If you're not using it on the client-side, then why not stay exclusive to the BEAM?

    • JavaScript is useful in lots of places, and even if one compile target is especially good for in-browser user interfaces that doesn't mean that language is specifically intended for user interface development.

      1 reply →

gleam is very much a language of "no" which if you like that, cool, if not, also cool :)