Earlier quoted context omitted.
One thing that's far more effective is tying the dog up to a pole and never letting it roam free. Is there an objection to handling a dog in this manner?
All day? I guess I'm making an assumption here about the internal desires of a dog but I think she'd prefer to roam several hectares, even with the risk of an electrical shock, rather than be tied to a stick.
The reason this is used instead of a fence has nothing to do with the dog's preferences (which of course we can't know), safety, or convenience. Instead, the reason seems to be cost. I don't see how it's possible to justify avoiding the cost of building a fence by mistreating your animals. If the man who has this farm can't keep dogs without delivering electric shocks to them, then maybe he shouldn't have any dogs.