Have fun learning
diary
tags
me
rss
How to safely break in iex
Sat, May 14, 2022
0 min read
Break from current statement in iex, with unmatched quotes or parentheses, without exiting shell
Stream is cool, but...
Mon, Jul 26, 2021
5 min read
Use
Stream
wisely. For some use cases when you have large lists it can be great, but other times it is not the best choice.
Secret OTP Agent
Thu, Jul 15, 2021
6 min read
Let’s learn OTP Agent by building our version using Elixir primitives.
Avoid Elixir booby traps
Wed, Jul 14, 2021
7 min read
Coming from an object-oriented background, you will fall into some Elixir booby traps.
tap Elixir in the shoulder
Mon, Jul 12, 2021
4 min read
tap
and
then
are the missing pieces to use anonymous functions in pipelines.
Debugging Elixir
Sun, Jul 11, 2021
5 min read
Different techniques to help you debug code in Elixir.
Good looking tweet
Sat, Jul 10, 2021
1 min read
Make your blog posts look better on Twitter.
Super reduce
Fri, Jul 9, 2021
4 min read
An important function in your tool belt that allows you to build pretty much anything. Let’s implement some of
Enum
functions with reduce.
Should I always use tail recursion?
Thu, Jul 8, 2021
10 min read
The short answer if we should always use tail recursion is the dreaded,
it depends
.
Quacks like a list, but it's not a list
Wed, Jul 7, 2021
1 min read
If you are not careful when building lists, you can end up with an improper list.
Running Elixir
Tue, Jul 6, 2021
7 min read
The different ways to execute elixir, from using elixir, or iex, running inside a mix project, using mix tasks and tests.
Running Elixir in docker
Mon, Jul 5, 2021
1 min read
You don’t need to install Elixir and all dependencies. You can use docker to make your life easier.
Installing Elixir in your local machine
Sun, Jul 4, 2021
2 min read
Use the
asdf
as a version manager to install Elixir on your local computer.
Elixir, the documentary
Thu, Jul 1, 2021
3 min read
Learn the origins of the Elixir programming language from the one and only José Valim
Named captures in Elixir Regular Expressions
Tue, Jun 29, 2021
1 min read
It’s a lot better to reference Elixir captures by name instead of index position.
Enable history in iex
Mon, Jun 28, 2021
0 min read
How to enable shell history in IEx REPL sessions and increase history size
How To Remember Everything You Learn
Sun, Jun 27, 2021
12 min read
Transcript and notes from the awesome Will Schoder Youtube video on “How To Remember Everything You Learn”
X never ever marks the spot
Sat, Jun 26, 2021
4 min read
Prof. Jones:
“I wrote them down in my diary so that I wouldn’t have to remember.”
Dave Thomas:
“And most of all, have fun.”
These are the main drivers for my coding diary blog.