Let’s say you had a program for looking up the businesses in a given city. Each business location serves a set of zip codes. It performs perfectly when you enter a zip code, of course, but when you try by city name, there’s a problem.
Some city names are reused in the USA. Big country, so we have several Parises, a few dozen Auburns, and probably more than fifty Riversides. Of these cities, there is often a more notable one – the one you were trying to find. You want the Pittsburgh in PA, not the Pittsburgh in Florida or whatever.
But the program, when searched by name, comes back with every result except the most popular one. You get the Santa Fe from Montana Nebraska and New Jersey, but not the one from New Mexico.
Why would this happen? Feels to this nonexpert there’d be a simple obvious reason and fix. Totally theoretical, can’t show u the code, what do you think?
–