
Rewrite, Refactor, or Strangle? A Practical Decision Framework
A practical framework for choosing rewrite, refactor, or strangler paths, based on risk, delivery pressure, change cost, and organisational appetite.
Articles
Development is the broadest category in my writing, so it works as the main archive rather than a narrow subject label. It brings together implementation notes and technical decisions, with delivery lessons from across the rest of the site.

A practical framework for choosing rewrite, refactor, or strangler paths, based on risk, delivery pressure, change cost, and organisational appetite.

Retention theatre explained through surveys, recognition schemes, pay, autonomy, trust, workload, management quality, and why strong engineers still leave.

Why transformation programmes fail after the slide deck, covering ownership, governance, operating‑model change, vendor fragmentation, and delivery reality.

Build an LRU cache in TypeScript with a hash map and doubly linked list, then compare it with a simpler JavaScript Map implementation and O(1) operations.

Consultancies can unblock stalled programmes, but without ownership transfer and internal capability growth, rescue work becomes recurring dependency.

Deadline debt explained as hidden rework, incidents, technical debt, quality loss, and recovery cost when teams compress quality without recording trade‑offs.

Diagnose Sass colours that survive compilation but break in Next.js production CSS when minification creates invalid mixed‑unit legacy rgb() values.

Mastering Server Components in Next.js, including client boundaries, data fetching, caching, streaming, and the mistakes that make App Router code messy.

Outsourcing can accelerate delivery, but if it replaces internal ownership, companies lose platform knowledge, leverage, and the ability to change safely.

402 finally Found a PurposeHTTP 402 was reserved for future payment systems. AI crawlers, paid access and agentic payments may finally give this status code a practical web role.

Maximum Subarray and Kadane's Algorithm explained with TypeScript, showing how a linear pass tracks current and best sums across positive and negative values.

The seniority trap happens when organisations hire experienced engineers for judgement, then deny authority, access, decision rights, and influence.

Companies talk about a high hiring bar, but weak offers, slow interviews, and vague criteria drive strong engineering candidates out long before a decision.

Machine‑readable websites need more than schema. They need stable pages, clean entities, useful metadata, feeds, APIs and content that survives extraction.

Converting objects to query strings is essential for handling URLs in JavaScript. Here, I explore encoding, parsing, and managing query parameters in Next.js.

Cheap engineering can shrink payroll, but it often increases rework, instability, contractor spend, supplier dependence, and total delivery cost later.

ETag and Last-ModifiedETag and Last-Modified drive conditional HTTP requests and 304 responses. See how precedence, weak validators, CDNs, and cache policy affect revalidation.

Best practices for managing environment variables in Next.js, so secrets stay server‑side and deployments do not freeze the wrong values at build time.