Actually, it seems at least as smart to buy the half priced truck w/only 1/4 or less of its mileage life on the odo, and i can't justify a $40k truck these days. Just different approaches.
That's assuming you could find a truck of that vintage with only 100k on the odo, more likely 150k so 1/3 the trucks life and also assuming you wouldn't have any expensive repairs for the remainging ~300k which is highly unlikely. Figure 2 front end rebuilds for $7k, transmission or clutch work $1-2k, misc $1k. Suddenly that $20k used truck with $10k in repairs isn't such a great deal. If you could get the truck for $10k, it would be a no brainer.
The smart move is buy the new truck for $40k, put 150k on the odo and sell it for $25k, then repeat.