AST-Aware Context Pruning: Cut AI Tokens 60-80%
Sending a whole source file to an AI coding model is the fastest way to burn a limited allowance—most...
Tag archive
Sending a whole source file to an AI coding model is the fastest way to burn a limited allowance—most...
As organizations accelerate cloud adoption, DevSecOps, API development, and software modernization,...
TL;DR: Dynamically discovering test classes at runtime by executing importlib is dangerous because...

The Mistake Almost Everyone Makes You need to split code into chunks to feed a vector...
Introduction Validating the structure of an HTML document goes beyond mere syntax...
Background Take Lombok as an example: at compile time, it reads annotations like @Getter...

Use AST node interception to inspect and mutate JavaScript behavior while a function executes on the same thread.
Introduction Understanding the execution of Go code, especially for complex algorithms...
Before a compiler can understand a program, it has to turn text into a tree (an AST). Here's how a small proof-carrying language represents a tree — recursive sum types in an index arena — and why it's the brick that makes everything else possible.

A config rename rule can't express conditional logic. Here's how to write a custom Rector rule, test it with fixtures, and roll it across 500 files.
Originally published on andrew.ooo — visit the original for any updates, code snippets that aged...

~10 min read · Engineering There are roughly three honest ways a visual editing tool can relate...