Hey all again, I am back → a few months ago I started dabbling with Elixir and Phoenix.
Long story short, I came away a little confused and little jaded. I just couldn’t get the appeal (of phoenix)
I suspect it is simply just a matter of unfamiliarity and not really thinking in the same way as the framework at this time. (I like building things from the ground up as it helps me understand more about what I have built → It is why I like Go so much… I tend to be able to reason a lot more about what I need to do to achieve something)
However, I really like elixir (baring some issues that I would like some help with and the point of this post) So I have been trying to look more into setting up http servers with elixir, and I have got to say I am little lost…
A lot of the docs (for example in Bandit) assume that you are using phoenix.
I guess my main confusion comes from the tooling. Is there a secret sauce so to speak to make the tooling a little more useful in my IDE?
for example: I will install bandit and then… I just don’t know what to do with it.
In go for example it would be:
go mod init <name>
go get <module>
import <module>
Then I can start getting autocompletes within my ide fairly consistently
in Elixir, (I really like the language… just I am really struggling with the tooling)
- Place my imports into the mix.exs
mix deps.get- Then I am lost… some libs want to be placed in a config… but that just confuses me as it just seem like values are going everywhere, without me really understanding why (despite looking at all the docs) or sometimes using
mix.Install - I am really unsure how to start seeing import options/ or autocompletes or documentation. (How to configure)
- Take Plug for example (which is what I am trying to use over phoenix at this time) I just don’t get why we configure things in the way the docs are configuring them.
I know that this is stemming somewhat from my unfamiliarity with at least the mental model. But I build my own frameworks in php, go, node… so I do feel like I should be able to get this. I am just really struggling dealing with the tooling and setup of a project. And I don’t know where to look or things feel really inconsistent and/or magical… like… you do this thing here for this library… just “because”… And that is the one part of the language (right now… that is just not gelling with me)
Is there a resource and / or book to help with this aspect of Elixir? (I have Elixir in Action (third addition) coming this week so I hope that might help
























