Generally I wonder if people comprehend that prisons should be (for the majority of inmates) intended to reform people; that is, to make them better and show them a better path. I'm not clear how people think throwing a bunch of criminals together in a featureless pen to lift weights, fight and fraternize is going to achieve anything. If anything, these people warrant more social investment than the average person, with the intent of educating them and building honest skills in them, so that they have new opportunities that they didn't have previously, when they made their mistakes the first time around.
I guess this sentiment is seen as sappy, unrealistic and saccharine, and of course socialist. Of course it has to be paired with having decent socialized healthcare and education, but I think we have seen in practice how the contemporary American school of thought for prisons does not work, and we have seen in other countries what is possible, and how reformist and sympathetic attitudes to incarceration, combined with strong social support generally can produce better outcomes in regards to crime.