Unfortunately, manufacturers tend to lose interest in supporting their hardware after the initial sale is made. The classic example is all the printers that worked fine under XP, but the manufacturers never bothered to create Vista/Win7 drivers, so they became paperweights).
The Google reference phones have the advantage for updates since, by definition, Google has already done the porting for those phones. In theory, Open Source has an advantage since the community can do updates. That theory is tempered by the reality that the community needs to include people that are capable of doing the porting and enough hardware information needs to be available for people other than the manufacturer do do porting.
In the case of HTC phones with Sense, they have to add a lot of engineering work between "Android version is available" and "that version has Sense added". They need to make sure all the hardware drivers still work, update them for updated kernels, etc.
If the phone is a "Google Experience Device" then it's very close to the original source, and should get updates sooner than the rest.