Clearly wherever this is (US?) prisons are not about rehabilitation and inclusion back into society. Weren't there any classes? Books? Library? Computer rooms? It's complete failure of a justice system if person comes out of prison like from a time capsule. IMHO it may just increase recidivism - what can a person do in a "free" world if he/she were not let to know about the world outside prison walls?
Just look at the replies on the twitter post. They amount to "shouldn't have done the crime then". Get raped/attacked in prison? Whoops, shouldn't have done the crime then. Released unprepared and institutionalized after 3 decades in prison? Whoops, shouldn't have done the crime then.
I strongly suspect there's a lot less interest in rehabilitation than we like to think. Being let down by a profit-driven incarceration system is only one facet of this.