Adding code is easy

2025-07-25

Adding more core to solve issues is deemed as simple. The reality in many cases is that it’s just easier (aka lazier), in many cases the resultant code is more complicated and complex. The industry seems to reward this kind of quick fix.

Reviving my blog

2025-07-06

This is an account of the process I have followed to revive the blog’s looks, the tools I’m using for it, and the process of styling it.

Why is creating a list comprehension faster?

2019-11-18

Yesterday, I was removing a list-comprehension as an argument to sum. This is the diff:

- sum([p.price for p in self.products])
+ sum(p.price for p in self.products)

To show the original programmer my line of though I performed a little experiment with the following message and …

Composing iterator-returning functions

2018-08-01

A few days ago I was reviewing a piece of Python code. I was looking for a bug, but in the process I found a very interesting function.

The system allows the user to “extend” the structure of Products by providing more attributes which can be used later on when …