It also depends if your buying new or used. If buying new than you need to consider the other points that were mention in the previous posts, and then base if off of that. If you can't just justify the astronomical purchase price of a new 2010 diesel, while using those points, than you shouldn't buy one.
If buying used than I'd buy away. The older diesel's are simpler, more reliable, easier to work on, get better fuel mileage, and require less maintenance. I hate to say it, but I'd be hard pressed to buy a new diesel these days unless I got a killer deal. It used to be that you could buy 3/4 - 1 ton trucks and easily get higher mileage than a 1/2 ton with a gasser. Those days are unfortunately gone though, especially since today's half ton's are getting mileage that's similar or better than what older 3/4 - 1 tons with the diesel engine were getting. But today's half ton's still can't do the work of a 3/4 - 1 ton, and so if you don't mind buying used, than an older 3/4 or 1 ton is really the logical way to go.