List of useful Docker commands

List of useful Docker commands

In the last few weeks I’ve been doing several experiments with Docker, just trying to grasp the main idea and maybe even come up with something useful. As often happens with tools these days, there’s an entire world of command line tools that you should learn. OR you can just...

2 minute read
Immutable Builder Pattern

Immutable Builder Pattern

This time we’ll talk about the Immutable Builder Pattern, but with a twist: the resulting instance has to be immutable. From time to time I need to move away from the routine, just to avoid getting bored. Also, taking short breaks might help viewing things under a different perspective. Anyways, while...

2 minute read
A static website is better.

A static website is better.

Yes, you read that right: a static website is better. Now take a deep breath and follow me. To read this post you’ve politely asked your browser to fetch data from a url. This has triggered a chain of servers up to the one hosting this blog which has identified...

2 minute read
Unit, integration, end-to-end tests: do I need all of them?

Unit, integration, end-to-end tests: do I need all of them?

Yes. I mean, don’t even think about it. You’ll need all of them, probably in different measures, but there is no “we shipped to production without tests”. Tests are the first rampart separating you from madness and failure. Why madness? Try to do even a small refactoring after you’ve deployed...

2 minute read