2021 In Review
From resurrecting this blog to contributing to Ruby itself, 2021 was a year of challenges and surprises.
From resurrecting this blog to contributing to Ruby itself, 2021 was a year of challenges and surprises.
Today I discovered the void operator in JavaScript. It evaluates an expression but always returns undefined.
A small Rails addition that helps creating allow/block lists.
The key for better code is making it easy to delete.
No one likes huge Pull Requests. Reviewers have a hard time reading them, bugs sneak in, they took ages to get merged, conflicts pop everywhere… It’s a nightmare. There’s a better way to handle this.
Jekyll is a famous static site generator. It has over 43k stars on GitHub, but in our current JAMstack world, it’s not the shiniest star anymore.
Parsers, grepping, ASCII art, and how that helps you automating boring stuff.
Writing code is similar to writing an essay: it consists of many small parts that interact. One big giant blob of words is hard — and tedious — to read. To address this, we use paragraphs. The same technique can benefit our code. Here’s how.
Imagine you drink a glass of water and go to the kitchen sink to wash it. When you get there, there’s a HUGE pile of dirty dishes in the sink. To wash your glass, you would have to clean all the mess before. You look around… no one’s watching. You carefully put the glass in the sink’s corner and sneak out. You walk away thinking “How things got this way?”. The ironic answer comes to your mind: one glass a day.
I’m learning Rust and this is the first post about my experience with it. I’m a Ruby programmer, so you may wanna check out my post about the decision of learning Rust for more background.