pmjoe

pmjoe

With the new 1.20 release does it change the way you see Gleam?

Not trying to start a flame war, but with the new 1.20 release Elixir is addressing one of the major problems at Elixir. I did tried Gleam, it looks like a really nice language, but Elixir has such a bigger ecosystem right now.

Most Liked

christhekeele

christhekeele

Pure aside from the Gleam discussion, but this is exactly where multiple structs + protocols fit in for Elixir for me. It’s actually pretty intuitive to represent in Elixir even if you can’t do it via complicated type invariants. One struct per implementation and polymorphic behaviour by protocol, even if all that behaviour is is a validation pass + post-parse conversion into a known good common struct type.

dimitarvp

dimitarvp

Not ever starting a flame war either but I don’t see why would I abandon a well-maintained ecosystem like Elixir’s for a new language. I am a sucker for Rust so Gleam I loved trying but of course having to invent much of the goodies in the ecosystem – or waiting for somebody else to do it – was, and likely still is, a deal-breaker.

I am no longer the early adopter type. Plenty of other people to take up the torch.

I wish Gleam – and every stricter language really – best of luck. They really do need it, especially in the age of LLMs.

pmjoe

pmjoe

The gap for me is the type system. Gleam type system is so damn good. Very simpler and catch most of the errors that I usually face, even on languages like Elixir. I do hope that the new type system in Elixir cover this gap.

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
RisingFromAshes
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
hariharasudhan94
lets say i have a sample like a = 20; b = 10; if (a > b) do {:ok, "a"} end if (a < b) do {:ok, b} end if (a == b) do {:ok, "equa...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
ycv005
I have followed this StackOverflow post to install the specific version of Erlang. And When I am running mix ecto.setup then getting fol...
New
pmjoe
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New

Other popular topics Top

grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 52774 488
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
romenigld
I am trying to run a deploy with docker and I successfully runned with this command: docker build -t romenigld/blog-prod . but when I t...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement