A little corner of the Internet carved out by Sergio Turolla
Full Stack Web Developer with 25+ years of experience
Hello World
My name is Sergio Turolla, and I'm a full stack web developer with over 25 years of experience.
I'm currently working on my most ambitious project: R-Machine. It started out as an i18n library, until I reached a conclusion: i18n and dependency injection are two sides of the same coin. I redesigned it from scratch, with DI as its backbone.
What came out of that is a vision: everything an application's code depends on — a localized string, a service, a slice of state — should have a stable name, like a table in a database, while the implementation behind it stays free to change.
The project
R-Machine
A TypeScript resource layer for React and Next.js
R-Machine unifies in a single model what today requires separate libraries for state management, i18n, dependency injection, and testing. The result is not the sum of four separate benefits but a development model designed to make change easier.
A codebase is a dynamic entity: it evolves refactor after refactor, sprint after sprint, LLM iteration after LLM iteration. A useful question when evaluating an architecture is not only "can it do X?" but "how many files must change when X evolves?" — production code, tests, mocks, fixtures. Every file you touch is a cost, but also a risk: the more code changes, the more likely something breaks.