Perplexinomicon
Recent:
Apr 12
Feb 24
COPY
commandThis is series about about microservices...
Feb 18
Oct 9
So a few posts ago, we looked at how to abstract dependent modules in Elixir to make testing easier. That post and its follow up attempt to implement a pattern suggested by Jose Valim, which he called explicit contract. This pattern has the following...
Aug 10
I'm a fan of role-playing games. You know, games like Dungeons & Dragons, where you sit around a table with other people and create a story based on a set of rules and a basic plot, using dice to determine the outcome of various plot points.
I mean...
Aug 6
A lot of blog posts, videos, books, and tutorials about programming Elixir tend to focus on the big things: web apps, web apps with Plug, web apps with Phoenix, web apps that need to handle 80 million concurrent requests, web apps that need to be web...
Jul 2
Jan 28
About two months ago, I got into a minor twitter war with a coding celebrity of some stature over the nature and neccessity of side projects. At issue was the question of whether developers should have some sort of "Side Projects" that they work on...
Nov 9
A couple of weeks ago, I wrote about how to move a mock module out of your production code and into your test folder. Today we'll follow up with a short post on getting fake responses from your mock module. For this example I'm going to use HTTP mocking...
Oct 23
Coming from Ruby into Elixir has its pitfalls. One thing that comes up a lot for TDD folks like myself is how to mock. I've found that this isn't as important in Elixir as it is in Ruby, but there are still a few cases, especially ones where there...