top | item 40655042

(no title)

_virtu | 1 year ago

I will say that it’s nice that you need explicit imports in Gleam. Elixir does not require this and a lot of code in our codebase suffers from unspecified imports which can be difficult to follow.

discuss

order

dartos|1 year ago

It’s a double edged sword.

After mucking around with import paths in so many languages for so long, I like that elixir is like “all the namespaces everywhere”

drannex|1 year ago

I thought I would love "all the namespace everywhere" (which would be a _great_ name for a tech talk at a conf, but it just feels too much like magic to me.

One thing I've never thought about, but you could potentially just make a single file with all the imports and that would make it easier to check, but it still just feels too much like magic and loss of control.