The 40D was my first DSLR, and looking back at the photo's I took with it, it was a great camera! The 50D when it came out was of no interest to me - the 40D beats it in IQ.
After I got my 5D2 I sold the 40D, then started missing it for the crop factor. I then got a 7D and haven't really looked back at the 40D. Although... I did then buy a 400D for light travel use. The 400D is reminiscent of the 40D in that it uses the same sort of sensor (but with only Digic II, makes less good use of it).
Owning the 400D now is an eye opener, it's a convenient little camera but I am very happy I went with the more expensive 40D at the time.
5D3, 5D2, Sony α6000, G16 | EF: SY14/2.8, V20/3.5, 28/2.8 IS, Ʃ35/1.4, 50/1.8, Ʃ50/1.4 EX, 100/2.8L IS Macro, 16-35/4L IS, 24-105/4L IS, 70-200/2.8L IS II, 1.4x II, 2.0x III, 70-300L IS, T28-300 Di VC PZD, Ʃ150-600 DG OS HSM S | E: SY12/2, 35/1.8 OSS, 16-70 ZA OSS, 55-210 OSS, SY300/6.3 ED UMC CS