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.
5Dmk3, 5Dmk2, Sony NEX-6 | SY14mm f/2.8, Ʃ20mm f/1.8, 35mm f/2, Ʃ35mm f/1.4A, 50mm f/1.8 I, Ʃ50mm f/1.4 EX, 100mm f/2.8L Macro, 17-40L, 24-105L, 70-200 f/2.8L IS II, 1.4x II, 70-300L, 100-400L | E-mount: 16-50 OSS, Ʃ30mm f/2.8 EX DN, 55-210 OSS | 2x FT-QL, AE-1 Program, some FD(n) & FL primes