Sometimes Erlang programmers are worried “Elixir variables may be the source of hidden bugs”. This article discusses those concerns and shows how variables in Erlang can produce related “hidden bugs”, some of those eliminated by Elixir. Before we start, a short disclaimer: Elixir does not have mutable variables, it has rebinding. Mutability is often associated … »
Tags: elixir, Posted in English, Comments Off on Comparing Elixir and Erlang variables
Ecto v1.1 has been released. Ecto v1.1 brings improvements and bug fixes to Ecto but, more importantly, paves the way for the upcoming Ecto v2.0 release by deprecating functionality that has been said to be error prone or confusing by developers. This article will highlight both improvements and what to expect by Ecto 2.0. For … »
Tags: changesets, ecto, elixir, queries, Posted in English, 5 Comments »
Our test tools often make it very easy to abuse mocks. This post provides some guidelines on using them properly by relying on explicit contracts.
Tags: contracts, mocks, tests, Posted in English, 18 Comments »
Acho que você já sabe, mas neste ano a RubyConf BR será bem diferente, começando pelo lugar (será na FECOMERCIO em São Paulo) e preços dos tickets separados pelos andares. Mais informações no http://www.rubyconf.com.br/. Como não poderia deixar de ser, a Plataformatec estará lá. Estaremos com um espaço no Open Floor e várias palestras. Aproveite … »
Tags: rubyconfbr, Posted in Português, Comments Off on RubyConf BR 2015, te esperamos lá
This blog post aims to document how to work with associations in Ecto, covering how to read, insert, update and delete associations and embeds. At the end, we give a more complex example that uses Ecto associations to build nested forms in Phoenix. This article expects basic knowledge Ecto, particularly how repositories, schema and the … »
Tags: ecto, elixir, Posted in English, 5 Comments »
A few months ago we had the opportunity to interview Adam Kittelson about his experience using Elixir in production. Adam is a senior software engineer at Brightcove. Brightcove is a global provider of cloud solutions for delivering and monetizing video across connected devices. They’re using Elixir and Phoenix to process event streams. Watch the video … »
Tags: elixir, elixir in production, Posted in English, Comments Off on Elixir in production interview: Adam Kittelson