Up to a point, the older it is, the more likely, and easier you will be able to fix it. Prior to the 90’s or so, appliance manufacturers took the term “durable goods” pretty seriously. If it is a Whirlpool dryer (which includes Sears Kenmore and a lot of other store brands) You can probably buy every single part except the main cabinet and the drum in-stock in any bigish city, at a fairly reasonable price.
About two years ago the timer in our 70’s (it’s harvest gold, doncha know) washer finally got to where I couldn’t repair it again like I did the last two times, and because it was a “deluxe” model I had to order off the internet for about $100,and spent a couple hours replacing it.
I’d like a washer that uses less water, but this one keeps on chugging at an average parts cost of something like $10-15/year and less than an hour of my labor. I can buy a lot of water for the difference between that and a $1000+ low water use washer.