If you are attempting being rational, then you need to reevaluate your decision making process. With rational approach, cost of ownership paired to a list of features is all you should consider. Optimizing the curve, you eliminate initial depreciation by buying used, and high repair/maintenance by selling the car before it gets too expensive to maintain. The optimum ends up being 2-8 years old car of any reliable car. Why reliable? First, it impacts resale value at 8 years old. Second, it allows it to make it to 8 years old without incurring major repair costs. You can't get any newer than 2 years, there isn't reliable supply of these, and selling before 8 years old leaves you with too short of an ownership to flatten the depreciation curve.
In closing, you might not want to drive that hypothetical lasts-50-years car in 49th year, but it makes cost of year 1 to year 5 cheaper.