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.

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.

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.

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

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.

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.

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.

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

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 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.

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.