dimiro1's notes

I just learned that we can use dbg/2 (https://hexdocs.pm/elixir/1.19.0/debugging.html#dbg-2) to debug expressions in Elixir. It's quite useful when used with the pipe operator – unlike IO.inspect, it automatically shows each step in the pipeline.

Leia mais...

Since I've been learning Clojure for the past few weeks, I decided to try to use clojure.spec library to generate tests. With spec, I essentially just need to define the shape of my data, and with this meta-information the library will dynamically generate all the tests.

Read more...

In Clojure, the let macro can be implemented in an elegant way using just what the language provides out of the box.

Read more...

Yes, as the title says, I postponed this moment for too many years. Now it's time to free my thoughts and share them with anyone interested. Currently, my audience is just myself, but that's more than enough.

The beauty of starting this late is that, in theory, I should have lots of topics to talk about. We'll see. I'm not making promises to anyone, not even myself. Let's see how long I can keep this going.

Enter your email to subscribe to updates.