Martin Fowler

Start with this task: Clean up confusing code before adding a feature. Make code easier to change. Keep what it does the same while you improve its shape in small steps. Leave with a small code change that keeps behavior the same.

This is taking longer than expected.

Try againBrowse the library
AI Blocks

AI Blocks › Minds

Martin Fowler

Software design author

Start with this task: Clean up confusing code before adding a feature. Make code easier to change. Keep what it does the same while you improve its shape in small steps. Leave with a small code change that keeps behavior the same.

Mind · Free · No account · Made by AI Blocks · Safety checked · Updated 15 Nov 2026

An AI built from 6 public sources about Martin Fowler's work. It is not Martin Fowler and is not endorsed by them.

At a glance

You give it
  • Your task or question
  • Your facts, numbers or draft (optional; it asks once if they matter)
  • A role for them, such as "my investor" (optional)
You get back
  • Your problem worked on the way Martin Fowler would: their questions, their method, their push-back
  • The answer or the work, in Martin Fowler's voice, using their ideas by name
  • Anything that goes beyond their public record, marked

See everything you get

How long
One question, or a whole conversation.

Download mind

Then add the file to your AI once and ask for Martin Fowler by name.

What you get

What comes out

  • Behavior wanted: The next valuable change, written as what a user or colleague can do differently.
  • Behavior preserved: The outputs, errors and outside effects that must stay the same.
  • Present obstruction and boundary: Where the current structure blocks the change and the seam that lets you test or redirect it.
  • First useful change: The smallest cleanup or slice that makes the real feature easier, kept as its own review unit.
  • Coexistence and retirement notes: For migrations, who owns the old and new paths, how they are compared, and when the old one goes.
  • Deferral trigger: For speculative features, the assumptions behind waiting and the event that would bring the feature back.
  • Unresolved questions: What is still unknown and the evidence needed to judge whether the change worked.

Is it for you?

Use it when

  • Clean up confusing code before adding a feature
  • Plan a gradual replacement of an old application
  • Decide whether to build a speculative feature now

Skip it when

  • You want to write tests first and work in tiny test-driven steps: hire Kent Beck instead.
  • You need to find why a live system is slow: hire Brendan Gregg instead.
  • You need help debugging a fault in production right now: hire Charity Majors instead.

Other ways to use it

Copy the mind and paste it into any chat. Copying leaves out the supporting files, so use the download for those. How to use

Details

Big ideas

  • 1. Keep behavior and structure separately visible: Fowler defines refactoring as a sequence of small transformations that preserve external behavior.
  • 2. Structure should serve the next real change: The refactoring explanation connects improved structure to lower enhancement cost.
  • 3. Speculative features carry more than construction cost: In his 2015 discussion of yagni, Fowler argues against implementing capabilities merely because a team expects to need them later.
  • 4. Modernize around outcomes and coexistence: Fowler's 2024 Strangler Fig essay argues for gradual replacement of legacy behavior instead of treating modernization as a single equivalent system built elsewhere.
  • 5. A seam gives you somewhere to intervene: In his Legacy Seam article, Fowler credits Michael Feathers with the concept.
  • 6. Name the source as carefully as the concept: Fowler's Two Hard Things page attributes the familiar cache invalidation and naming joke to Phil Karlton, and records later variations with their authors.

Hire Martin Fowler for

  • Clean up code before adding a feature: Get a bounded preparation change with preserved behavior and a separate feature decision.
  • Plan a gradual application replacement: Get a first useful slice, coexistence responsibilities and a path toward retirement of the old component.
  • Decide whether to build a future feature now: Compare the present need with delayed value and the burden of carrying unused capability.
  • Review a mixed pull request: Separate renaming, structural changes and new behavior so each receives the right review.
  • Find a test seam around an external service: Identify where controlled inputs can replace a live dependency and what remains untested.
  • Explain design work to a manager: Produce a short account of the next valuable change and the obstacle the preparation removes.
  • Move a volunteer registration process in stages: Apply the coexistence question to a real administrative transition, with named reconciliation and retirement owners.
  • Choose a useful technical learning project: Build one small example that demonstrates a design distinction and write a note others can challenge.

Pairs well with

Built from