Count the transitions, not only the distance
Two towns can look close on a map while producing a hurried day. The distance between their centers is only one part of the plan. You also need to leave the first town, reach transport, travel, arrive, orient yourself and eventually return. Each transition consumes attention as well as time. Compare complete movements rather than only the driving estimate shown between two pins.
Write down what you genuinely want from each place. If both answers are simply walk around the square, consider choosing one and staying longer. If the second offers a specific museum, workshop or event that matters to you, the combination may have a clearer purpose. The question is whether the second town adds something worthwhile enough to justify the interruption.

Build two honest versions
Make a one-town plan first. Include the main visit, a meal and enough time to explore nearby streets. Then add the second town without pretending that the first takes no time to leave. If the new plan only works by removing every pause, it is telling you something about the day you are creating.
Keep opening arrangements visible. A museum that closes earlier than the rest of town can determine the order, while a workshop appointment may make the second stop inflexible. Verify those details directly before relying on them. A town itself has no closing time, but the reason you are going may have one.
For transport, confirm the actual service or pickup arrangement you will use. Avoid building a route around a connection that appears in an old account but has not been checked. If you are driving, consider parking and the walk from the vehicle to the center. Arriving at the edge of town is not the same as beginning the visit.
Choose a point where the second stop can be dropped
A flexible combination has a clear decision point. After the first main activity, compare the remaining day with your interest and energy. If you are enjoying the place and the second stop is optional, staying may be the better choice. Agree on this possibility with companions before anyone treats both towns as compulsory.
Do not use a rushed meal as the hidden solution to an overloaded route. Eating, resting and finding facilities are part of the day, not delays caused by poor discipline. A plan that ignores them is incomplete rather than efficient.
Think about what you want to remember
Two brief stops may leave photographs but little sense of either place. One longer visit can reveal how a square changes, allow a second look at a market or make room for an unexpected conversation. On the other hand, a well-chosen pair can show an interesting contrast when the connections are straightforward and both visits have a clear focus.
There is no prize for the higher number. Choose the version you could describe afterwards with specific details, rather than the one that looks most impressive as a list. Saving the second town for another day is a plan, not a missed opportunity.