Designing public benches such that homeless people cannot sleep on them is exactly this kind of (objectionable) band-aid to a systematic problem. Designing the benches this way is cheaper than solving the problem as a whole. But there are many symptoms of this problem, and finding an upstream solution can help us resolve more of these symptoms together.