Also, while you can usually get away with a short extension between a socket and torque wrench, longer is not better. Anything that increases the distance between the torque head and the socket is increasing the length of the lever, mathematically speaking, and will render, or throw, the applied torque off. While this may not be critical on some things, it can be a disaster on others, such as working on aluminum engines, or in smaller conditions, such as inch-pounds, etc. Or larger ones, such as the lugs on the steering axle of a big truck.
So, when you're at the tire shop, and you see the guy torque down your lugs with a deep well socket and a six-inch extension, Those bolts will not be torqued properly, which is not only improper but can be dangerous. You can prove this yourself. Use that same setup, then remove the extension and re-check.