At the time they were new, the magazines liked the 840i even better than the 850 because the lighter engine made for better balance. The electronics would be the same, but the engine would be less expensive to operate, I’m sure. As always, finding a good one is the issue. I’d also recommend a test drive in an 8 series, they are quite big cars and vision can be an issue in tight quarters.
Kent