andre1sk
Elixir's biggest gotchas?
Being new to Elixir would be very valuable to learn what you guys consider to be the biggest gotchas in Elixir land?
Trending in Discussions
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
New
@chrismccord : I just saw the Extract AGENTS.md from Phoenix.new into phx.new generator commit to the phoenix project.
My initial shotgu...
New
I was working on an Ecto migration and I needed a timestamp. So, for the nth time, I looked up the different data types for timestamps, a...
New
Just a general thread to post chat/news/info relating to AI/ML stuff that may be relevant for Nx now or in the future. Got anything to sh...
New
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
Fly’s CEO posted this recently - Turn And Face The Strange · The Fly Blog
It says that Fly is going all-in on sprites, which is a worry ...
New
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New
Introducing AshStorage! Attachment and file management that slots directly into your resources :smiling_face_with_sunglasses:
I had hope...
New
Chat & Discussions>Discussions
Latest on Elixir Forum
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #elixirconf-us
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #performance
- #security










First Post!
muhifauzan
For me, it’s the functional programming. Elixir is not the first functional programming I learn. But it’s the first functional programming I learn by doing, not just by reading the books. Another things are like pattern matching, pipe operator, recursive call, etc.
Most Liked
josevalim
I think Elixir may actually make it slightly more confusing because a lot of folks coming from other language expect
'foo' == "foo". That’s why one of the proposals I want to send after v1.3 is out is to deprecate the use of'foo'in the long-term (and I really mean long-term) in favor of the sigil~c"foo". It is going to be more explicit and I find using sigils for char lists in Elixir at this point more idiomatic.gregvaughn
erlang charlists. Newbie exercises are bound to create a list of integers and iex will print it out in a surprising way. It’s a fundamental ambiguity that’s completely understandable, but it introduces itself to newcomers in a very surprising way.
andre1sk
For me so far syntax for piping into anonymous function was a bit surprising:
|> (&(&1)).()
Last Post!
Sebb
there are two points here that could be added to Elixir Gotchas and Common Issues Wiki
'foo' != "foo": Elixir's biggest gotchas? - #10 by josevalimkeyword lists are just sugar: Elixir's biggest gotchas? - #12 by bbense