Blog.
Writing on cinema and code. Set diaries. Notes when an idea tries to stand up.
From meditation to functional programming: Result, Pipe, and an uncomfortable question about frameworks
I just wanted to track my meditation sessions. I ended up rethinking how I write code, adopting functional patterns like Result and Pipe. And I asked myself an uncomfortable question.
Result Pattern in TypeScript: a practical guide with React Query
How to use the Result Pattern in TypeScript to make success and error explicit in your types, and how to wire it into React Query. Practical examples, no exceptions.
Modern CSS for TypeScript Developers: Getting Started with Vanilla-Extract
In this blog post, we explore the benefits of using Vanilla-Extract, a zero-runtime CSS framework, to manage styles in a TypeScript-based Astro project. Drawing from traditional CSS-in-JS solutions like styled-components, Vanilla-Extract offers a fresh, type-safe approach to creating scoped classes, variables, and themes, generating static CSS files at build time.