On the most recent episode of his always excellent show Last Week Tonight, he focuses on the abuses of the cash bail system where people can be held in jail for a long time before trial simply because they do not have the money to post bail. This hurts poor people the most. One of the worst abuses is to use the system to coerce people who have been held in jail for a long time before trial to confess to crimes they did not commit with the promise that the time they have already spent in prison will be sufficient punishment.
I think that people should be released on their personal recognizance unless they are a risk to society or have the means to flee. Most poor people who commit petty offenses can easily be caught if they do not show up for their trial. Bail in such cases is punitive.