Reflexões e anotações sobre Ruby, Rails e arquitetura de software.

Automated Testing: types, TDD, and testability

One of the most common reasons people give for writing automated tests is to prevent regressions, basically, making sure a new change doesn’t break a...

Single Responsibility (SRP): thinking beyond classes

Today let’s talk about Single Responsibility. If you’ve heard of SOLID, you’ve definitely run into this principle before, it’s the “S” in the acronym.

Layered Architecture

If you’ve ever worked with Rails, you’ve probably used layered architecture without even noticing. It shows up, in one way or another, in most of...

Static Analysis: beyond linting

The other day, studying Software Architecture, I ran into fitness functions, a concept that shows up a lot in architecture and refers to automated mechanisms...