I agree. with edibles, at least the dispensary type, you know exactly the % of CBD and THC, so dosing is more easily controlled, as where I am at, the results of the testing is required to be on the packaging.
With a joint, if you are a talker or a beaugarter who knows how much one gets? One can buy pure CBD or THC, or mixtures... or even grow specific strains with known production of the cannabinoids. I went so many years with the smoking light off, that when I retired after a career of being subject to drug testing, I was kind of amazed at all the edibles available. Before that, making canna butter was the farthest I wandered into that area, but again, no real idea of dosage other than trial and error.
I guess common sense would tell one that if your lungs hurt when you smoke, to stop doing it.