After 1835 many workhouses were constructed with the central buildings surrounded by work and exercise yards enclosed behind brick walls, so-called "pauper bastilles". The commission proposed that all new workhouses should allow for the segregation of paupers into at least four distinct groups, each to be housed separately: the aged and impotent, children, able-bodied males, and able-bodied females.[30] A common layout resembled Jeremy Bentham's prison panopticon, a radial design with four three-storey buildings at its centre set within a rectangular courtyard, the perimeter of which was defined by a three-storey entrance block and single-storey outbuildings, all enclosed by a wall. That basic layout, one of two designed by the architect Sampson Kempthorne (his other design was octagonal with a segmented interior, sometimes known as the Kempthorne star[31]), allowed for four separate work and exercise yards, one for each class of inmate.[32] Separating the inmates was intended to serve three purposes: to direct treatment to those who most needed it; to deter others from pauperism; and as a physical barrier against illness, physical and mental.[33] The commissioners argued that buildings based on Kempthorne's plans would be symbolic of the recent changes to the provision of poor relief; one assistant commissioner expressed the view that they would be something "the pauper would feel it was utterly impossible to contend against", and "give confidence to the Poor Law Guardians"
https://en.wikipedia.org/wiki/Workhouse

Same shit, different assholes.