Hacker News new | past | comments | ask | show | jobs | submit login

What? There’s so much magic in Elixir and it’s ecosystem. Controllers in Phoenix, various handle_info overloads and requires implementations, misspelled atoms, pattern matching and mismatches with names structs, the implicit return… there’s so many footguns to fire at yourself.



> the implicit return

It's not magic, it's a regular feature of functional programming languages.


these days returning from the middle of a function seems like magic to me. What is this return keyword and what sort of control flow is it abstracting over??


pattern matching isn''t magic.... its pretty standard in FP languages, elixir just happens to match on value over type.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: