Three Look-Alike Screens Aren't One Feature: When to Combine Them
Merging look-alike parts of a custom app into one shared piece can cost more later. The rule of three, and five questions to ask your developer.
If you're paying for a custom app, you may hit this moment in a project review. Three parts of the app look nearly the same: approving a request, changing an item's settings, and moving an item to another area. Each one is a list, a pick, a confirmation, and a result message. So why pay for three screens when one shared screen could do all three?
It's a fair question, and the answer is often "don't combine them yet." Here's why, and what to ask your developer before they make something "reusable."
The tempting shortcut
Developers are taught to avoid repeating themselves. When several parts of an app look alike, the instinct is to build one shared piece (developers call it a reusable component) and use it in each place. On paper, it saves money.
The catch is that looking alike and working alike aren't the same thing.
One developer's case, in plain words
In a Nov 5, 2026 essay on the Stack Overflow blog, the question-and-answer site for programmers, a software developer described this situation. Their app had three workflows: approving an item, changing an item's settings, and moving an item into or out of a managed area. The screens shared the same tables, pop-ups, and confirmation messages, so the developer built one shared screen for all three.
After several weeks, that one screen had a setting for each mode and a growing list of exceptions. Each new requirement for moves needed a new switch. A change to the confirmation step, the developer wrote, could no longer be made by that workflow's owner alone. It needed agreement from all three workflow owners, a reviewer who knew all the modes, and tests for each combination of settings. As the essay puts it, "An alteration in one area led to an argument about all the others."
The developer's summary: "Duplication can easily be removed, but a wrong abstraction can be expensive to undo." An abstraction, in this sense, is the shared piece that stands in for several look-alike ones.
Why look-alike workflows differ underneath
The essay's point is that the similarity was only on the surface. Underneath, the three workflows differed in ways that mattered:
What happens when it half-fails. Each process dealt with a partial failure in its own way.
What gets recorded. Each had its own requirements for the information gathered for audits.
Who can say no. An approval is a statement about the future ("I will need this item"), and a change takes effect right away. A move needs another system to accept the request, and that system may reject it.
According to the essay, those differences show up later, with a new policy, a new audit finding, or a new connection to another system that doesn't behave as expected. A shared screen built on current similarities can't see them coming, so each difference becomes another special case.
The rule of three, in owner terms
The developer's rule builds on an older idea that Martin Fowler's book Refactoring credits to Don Roberts, called the rule of three: do it once, wince but do it a second time, and combine on the third. The essay adds a condition. Wait until the same pattern shows up three times for the same reason to change before combining it, and let each screen grow on its own until then.
"The same reason to change" has a plain meaning: one decision by one person changes all of them at once. A date format is a good example. If you decide dates should read differently, the screens should change together, so sharing that piece makes sense. The submit step on an approval and on a settings change may look identical, but one follows your approval policy and the other follows your data rules. Tie them together and you've tied two unrelated decisions together.
The essay also names things worth sharing from the start, such as buttons, color and spacing settings, and formats set by a standard, like dates and currency.
The developer's own test is worth borrowing: "In the case of change to this requirement, who would I consult, and would all copies be changed simultaneously?"
Five questions to ask your developer
Before your developer merges look-alike parts of your app into one shared piece, consider asking:
If our approval rules change, which parts of the app would have to change with them?
Who on our side decides how each of these workflows behaves, and is it the same person?
What happens in each workflow if it fails halfway through?
Does each one need to record different details for an audit or a dispute?
Does any of them depend on an outside system that can reject the request?
If the answers differ from one workflow to the next, the parts are look-alikes, not duplicates, and keeping them separate for now is the safer build.
The cost picture
A little repetition can feel wasteful when you're paying for development time. But repeated parts are easy to combine later, once the real pattern is clear. A shared piece built too early is harder to unwind. The essay's recovery advice is to copy the shared code back into each workflow, strip out the branches each one never takes, and only then pull out the small pieces that change for the same reason.
The hidden cost is coordination, not only coding. When one change needs agreement from three owners and tests for each combination, simple updates get slower. Separate screens let each workflow change without waiting on the others.
The takeaway
Combining look-alike parts of an app isn't wrong. Doing it before the pattern is real often is. At ConsultNation, one of our guiding principles is "Build it to last": we build systems to be simple, documented, and maintainable, so they keep working without constant rework. Sometimes that means paying for three screens now so each one stays easy to change later.
