marciol
The beauty of Plain Old Elixir Modules - POEM
Thinking about how Contexts on Phoenix 1.3 are beautiful in the simplicity, elegance and minimalism, coalesced in the smallest unity of Elixir, the Plain Old Elixir Modules, I got surprised by the acronym obtained from this definition - POEM.
The way of get straight to the problem, reducing the unnecessary abstractions is a virtue that Elixir inherited from Erlang. I just need to share this felling.
Most Liked
peerreynders
kelvinst
Or even better, POES (Plain Old Elixir Struct).
Better than writing POEMs, is writing them to work with POESy data! 
5
gaggle
adamu
Writing a function
Input produces output
So simple and pure
#haiku
3
arcanemachine
Nope, I find old gems, and resuscitate them as I see fit.
Worst case scenario, it sits on the frontpage for a couple days, then gets forgotten about again.
2
Popular in Discussions
I could write forever about this, but I’ll do my best to keep it succinct.
For anyone familiar with event sourcing, what is your opinion...
New
Today I noticed that when defining a embeds_many the new struct has a default of [] which is confusing since:
You can have jsonb[] colu...
New
I was recently asked to step up and become the maintainer for the Elixir Style Guide. It was, I believe, the first, and is now the most p...
New
Hologram provides a way to write your entire web application in Elixir, with automatic transpilation to JavaScript for the frontend. It h...
New
I came across this PKGX tool the other day, if anyone here is using it, could you share your experience?
I’m wondering how useful it wou...
New
So, anyone got a chance to look at this?!?
I’m kind of glad this came along. We can just throw this into our Auth pages and won’t have t...
New
It is rare to use direct calls to send in elixir. The call is normally wrapped in a function which is responsible for sending the correct...
New
Hey everyone! :waving_hand:
I just wanted to recommend https://seenode.com/ for deploying Phoenix apps. I’ve been using it recently and ...
New
Hi,
I’m wondering is it my thinking process or this is the norm among the Elixir developer for the use of Struct and accessor functions ...
New
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
Other popular topics
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors:
[WARN] - (starship::utils): Executing command ...
New
i’m a new one to elixir
which editor can i use
vs code? or atom?
Thanks! :smiley:
New
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
What is most correct way to open, read and parse JSON file with poison?
For example if we have example.json file in root of some projec...
New
If I have a string “1000 cfu/ml” . I want to remove the characters and / and space . So the string is like this
"1000"
What is the ...
New
As promised, the first release candidate of Phoenix 1.3.0 is out! This release focuses on code generators with improved project structure...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
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
Hello guys,
I have finally made it. I created an admin interface for a framework. It’s been on my todo list for years and with the curre...
New
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New







