Rubber Ducking with Claude Opus 4 this afternoon to see if it worked this week, and it did. We chatted about a typing problem I see in a lot of code bases, whether they use Ports & Adapters/Hexagonal/Onion or not: the lack of an anti-corruption layer.
(more…)Blog
-
Node.js’ config Library Shouldn’t Be Used in TypeScript
Coming back to typed 100% AWS Lambda API’s, I’m convinced the config module is an anti-pattern if you’re using TypeScript.
(more…) -
Not a Middy Fan
I feel like those using Middy, and enjoying it, missed the whole “Promises were invented” thing. Nowadays you can just chain functions together. There is no need for all of this side-effects everywhere, global variables like process.env being passed around, and bizarre “thing piece | void” return values. Just have your handler being a Promise / Result chain.
(more…) -
Asking Copilot About Writing a New Programming Language
Jesse: “Yo Copilot, if you were going to write a soundly typed language with managed effects that compiles to JavaScript, which language would you choose to write the compiler in?”
(more…)