#Elixir
127 notas · última:
Elixir - The Love Child of Ruby and Erlang
The article tours Elixir’s core features: the IEx shell, functional tools, immutability, recursion, streams, the pipe operator, processes, message passing, and Erlang interoperability.
Writing assertive code with Elixir
The post argues that Elixir code should be written assertively: use pattern matching, explicit polymorphism, and strict map or struct access to catch bad assumptions early and keep code simpler.
Pseudo Random Number Generation in Elixir
The post explains why Elixir relies on Erlang for pseudo-random numbers, how deterministic seeds affect :random.uniform, and why :crypto can provide better seeds than timestamps or :erlang.now.
Thoughts About Elixir
The author argues that Elixir is now a viable choice for server software because it keeps Erlang's runtime and OTP while offering clearer syntax, easier nested data handling, better tooling, documentation, and seamless Erlang interop.
Why we are excited about Elixir
The post says Elixir is promising because it sits on Erlang’s mature runtime, adds Ruby-like syntax, supports macros and DSLs, and comes with solid tooling and documentation.
Converting Erlang code into Elixir
The post shows a simple port of a Cowboy WebSocket example from Erlang to Elixir, with notes on atoms, modules, string differences, and a few details that can break the code.
The Three Laws of Programming Language Design
Joe Armstrong states three laws of language design: what is right goes unnoticed, what is wrong draws complaints, and what is hard to understand must be explained repeatedly.
