[0]: https://www.rtings.com/headphones/tools/compare/bose-quietco...
Airpod Pros had worse noise cancelling but slightly better sound quality (clearer mids/highs, less bass). I think this is very subjective and depends on the situation and type of noise you're looking to block out.
If I could only own one pair of headphones I have to admit that the Airpod Pros would be hard to beat, as ridiculous as the pricetag seems.
The QC35s are more comfortable however.
As an aside, one slightly annoying usability issue with the AirPods is that in comparison to the QC35 they behave differently when part of a multi-output audio device under MacOS. My wife and I often watch video using two pairs of bluetooth headphones paired and synced to the same Macbook Pro[1,2]. It's great for late-night movies in city apartments. Using the QC35s and her headphones, the aggregate device remains selected when the QC35s are paused or turned off (meaning, she can still listen if I go out of range or turn off my headphones). With the AirPods, if I take one out of my ear (to scratch an itch, say), the AirPods suddenly become the only audio output device when I put it back in, and the second pair of headphones goes silent. A small annoyance, but curious.
1. Set up your own bluetooth audio "splitter" to allow multiple people to listen togther: https://support.apple.com/guide/audio-midi-setup/play-audio-...