Outlook Email Rendering: Coding for Two Engines

Outlook Email Rendering: Coding for Two Engines

Classic Outlook renders with the Word engine, new Outlook renders with a web engine. Microsoft's verified timeline, the mso toolkit, and the quirks that matter.

Dark Mode Email: Coding for Three-Way Inversion

Dark Mode Email: Coding for Three-Way Inversion

Email dark mode is client-driven inversion, not opt-in developer control. The three-way behavior split, declaration limits, targeting hooks, and images that survive inversion.

Refactor Suggestions in Code Review

Refactor Suggestions in Code Review

Two duties keep refactor review fast: author-side legibility and reviewer-side severity labeling. The not-this-PR disposition and taste versus defect.

Expand-Contract: Migrating Patterns Without a Big Bang

Expand-Contract: Migrating Patterns Without a Big Bang

Atomic cutovers strain codebases that keep shipping. Expand-contract sequences a migration so every intermediate state is releasable, with a lint ratchet to hold the line.

Characterization Tests for Untested Code

Characterization Tests for Untested Code

Feathers' definition of legacy code, characterization tests that pin current behavior bugs included, seams for stubborn code, and why pinned is not the same as correct.

Preparatory Refactoring: Make the Change Easy

Preparatory Refactoring: Make the Change Easy

Kent Beck's maxim names a deliberate move; this piece separates it from in-passing cleanup. The unlock-line scope test, prep-first commit ordering, and the label-laundering failure mode to watch for.

Simplifying Conditionals: Guard Clauses and Beyond

Simplifying Conditionals: Guard Clauses and Beyond

Guard clauses flatten nesting, named predicates turn symbols into sentences, and repeated switches signal a dispatch structure — but not every conditional needs restructuring.

Duplication, the Rule of Three, and Wrong Abstractions

Duplication, the Rule of Three, and Wrong Abstractions

Not all duplication is debt. The rule of three, Sandi Metz's argument that duplication beats the wrong abstraction, and the mechanical path for unwinding one.

Dead Code: Find It, Prove It, Delete It

Dead Code: Find It, Prove It, Delete It

Dead code taxes every reader and keeps dependencies alive. A taxonomy from unused exports to expired feature flags, plus confidence tiers for deleting with evidence, not belief.

Renames: The Highest-Leverage Small Refactor

Renames: A High-Leverage Small Refactor

A misleading name installs a false belief in the people who read it. Which names to fix first, what a name owes at each scope, and the references your rename tool will not follow on its own.

Project Inquiry