pmjoe

pmjoe

What do you think of Gleam compared to Elixir?

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 a deal-breaker for me. Mainly the fact of it’s dynamic. I really miss an assertive autocomplete.
But well, now we have Gleam, it’s not ready, but looks promising, what do you guys think of it? Does the fact of being typed reduce the productivity from Elixir?

Most Liked

Crowdhailer

Crowdhailer

Creator of Raxx

I’m really enjoying Gleam, there are some things where I would say my productivity is improved.
Particularly the annoying glue code and making sure errors are handled.

Obviously total productivity for a project is reduced as many libraries don’t exist. It’s always quicker if you don’t have to build things.
If your willing to write some erlang code to get erlang librarys into your project I would say you might be surprised at your productivity. I was.

lpil

lpil

Creator of Gleam

In future it should be possible to provide better autocomplete with Gleam than with Elixir as it is capable of performing superior static analysis, but today there is no IDE like features in Gleam. It is on the backlog though :slight_smile:

hauleth

hauleth

I would say that in languages like Elixir it is not that much of the problem as you quite rarely need to dynamically lookup the possible functions (as there is no “methods” in a way that it is in OOP languages).

About Gleam - for now I didn’t have need to test this out yet as I mostly focus on Elixir and Erlang right now and adding new language to the set do not seem to be feasible.

andreolvr

andreolvr

I’m not a big fan of statically typed languages and have never really stopped to take a look at Gleam. But, just curious here, what do you mean by “assertive autocomplete”? I’ve been using Elixir for some time and IDEs autocomplete is great.

pmjoe

pmjoe

I don’t know, for me the autocomplete is always breaking and I don’t know exactly what I can use with the current identifier.

Where Next?

Popular in Questions Top

Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
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
gazoon
I want to know absolute current module path. In python i could do that: os.path.abspath(__file__) Does elixir have anything similar?
New
Phillipp
Hey, I have a NanoPi-M3 and try to install Elixir on their Ubuntu image. I followed the Raspberry Pi installation instructions from the ...
New
makeitrein
Hey all, just started picking up Elixir last week and am writing a scraper as a learning project. Baby step #1 is extracting the number ...
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
Mooodi
Given a string, how can I get access to its character by index? Enum.at("my_string", 2) doesn't work. Or rather, not char, but a substr...
New

Other popular topics Top

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
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
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
vonH
In asking this question I am more interested about the expressiveness of the language itself and less concerned about the availability of...
New
KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
danschultzer
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch. This project took far...
548 27727 240
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
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
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

We're in Beta

About us Mission Statement