I am in no way asking this as a defense of gerrymandering but what is the alternative? Let's say we're talking about California (although it can be any state) and let's say we have 50 districts (just an arbitrary number). By what system can we use to determine those 50 districts that the most people will think is fair?
Usually it's fighting over whether a district leans more Republican or Democratic. But we have districts here that are like 80%+ Democratic so no Republican is going to win but there are still massive fights because we redistrict based on race. Should this area be allowed to have a majority Asian population? Should this district be allowed to have a majority LatinX population? And so forth. In California we passed a ballot measure to take redistricting out of the hands of politicians into an 'independent' body. Great in theory. Yet there are still massive fights and claims of racism etc.
One can argue there is no good way to redistrict but independent bodies are the best of all other options. But simply saying 'no gerrymandering', while sounding very good in theory, needs to have an alternative.
If you want a chuckle you ought to check out what is happening in New York State. The Democrats, who own State Gov't, came up with an over zealous redistrict map that virtually erased all Republican districts. It was rejected even in a Democrat Court, who in a hurry, assigned an independent entity to draw the maps, which eventually resulted in five surprising GOP Congressional victories. Currently, the Legislature has won a case to redraw the maps once again, hoping to eliminate the GOP gain. It's comical
I think it can be done, least in New York, where you have easily identifiable areas, rural/urban, but it going to happen