It depends.
I find it annoying when people are apparently doing that for a few miles.
But, if I'm on the left side of a 4-lane road and planning to make a left turn, or go to a business on the left within about 5 blocks, then I'll do the Sidewalk Salmon.
We also have a local bike path that ends at traffic light with no buttons or sensors to cross the road to the right side. So, one ends up doing some sort of salmon until either traffic clears, or one gets a half block down to the next light with a button.