Hello, I’m Massimili...
Ah, just call me Max. Clearly, my parents weren’t big on usability.
I’m a full stack engineer. React, Node, TypeScript and Rust take up most of the space in my toolbox these days, and a background that stretches from embedded systems to network architecture, with the odd foray into product land, taught me to think, if not out the box, certainly about the entire box.
I’ve been authoring and contributing to open source since 2002, and occasionally share here my “field notes” about strategies that help to be more effective as a programmer (either language-agnostic or easily transferable) and about specific tools and technologies.
- Test-driven development of NextJS API routesNextJS's conventions are not TDD-friendly, but with some work and a little structure we can enjoy a smooth red-green ride.
- How two lines of TypeScript can make a bug go from “undetected in production” to “impossible to introduce”Notes from 2022/11/16 DevCafe
- “I never did any formal design, where can I start?”Notes from 2022/10/21 DevCafe
- Emacs package quickstart with EldevNotes on creating a basic package with tests and managing it with Eldev
- “I’ve got a React codebase, I want to introduce tests, where do I start?”Notes from 2022/10/21 DevCafe
- TDD and (vs?) testingNotes from 2022/10/21 DevCafe
- Four patterns for developer-friendly, production-grade NodeJS servicesOriginally written for people onboarding a project I've been leading, to explain why services are structured the way they are, and to provide a set of reasoned guidelines
- Comment the code that is not thereSo your coworkers don't have to find out the hard way
- Mocking window.ethereum in Playwright for end-to-end dApp testingA short note on getting web3-mock to work in Playwright tests
- [draft] Structuring projects to guide and inform (for React applications)A project's structure speaks. Does yours say useful things?
- Bi-dimensional commit messagesThe useful dimensions of a change, at a glance
- Faster interactive development in StorybookTweaking Webpack for responsiveness, or hacking Snowpack in
- Data that grows together, goes togetherIf it's conceptually interdependent, make it programmatically interdependent
- Lightweight external command integration in Emacs via compilation modeDoing more without leaving Emacs
- The dangers of greedy functionsFunctions that ask for more than they need trick into writing risky code