Simple Memoization in Elixir (Using FastGlobal)

Elixir is a functional language, where modules can’t have “state”. State can only be wrapped in processes, and this seems a bit weird to people coming from an OOP background and can be a bit of hassle when all you need to do is quickly memoize something in your code.

Continue →