I had an opiate after surgery once and the constipation was so bad, it was worse than the pain it was supposed to be treating. I switched to Aleve instead, which was both better at pain management and had fewer side effects.
"an opiate"? You do not get constipation from one pill that is "so bad".
Plus it depends on the opioid. Hydrocodone and oxycodone for example leaves the system pretty quickly (ER, too), and once it does, you can defecate without issues. Morphine on the other hand causes awful constipation but can be treated with proper diet. Hydrate, plum jam, magnesium citrate, or laxatives if serious. You can skip a dose or two so you can defecate.
I was thinking about this the other day, and I don’t plan on buying another car until something self-driving is available. Waymo is rolling out to my metro this year (Denver) and I bet I’ll be able to buy a self-driving vehicle within 10 years, which is well within the life of my current vehicle.
The best success measurement is described in Google’s SRE book: you’re doing it right when you can scale the number of services/features/products/customers you support faster than the size of your ops/devops/sre team.