According to Wikipedia ...
The D40 is a now-discontinued Nikon F-mount entry-level digital SLR, announced November 16, 2006. Compared to its predecessor, the D50, the D40 had several features removed, a few added, and a lower price: US$499.95 ESP as of November 2009 with the 18–55 mm G-II kit lens, positioning it as an entry-level model compared to the D80. The D40x (released March 6, 2007) has a 10-megapixel maximum resolution, up from 6 megapixels of the D40 and D50.
The D40 was the first Nikon DSLR without an in-body focus motor. Autofocus requires the use of a lens with an integrated autofocus-motor.
Despite being superseded by newer offerings, the Nikon D40 retained some significant advantages. It enjoyed a long production run which finally ceased in March 2009, shortly before its introduction of its successor, the 3300.
The question I always ask my self and TOTALLY ignore is "Cameras, WHAT DO I REALLY NEED?" For some strange reason although the answer is "what I have right now" I upgrade anyway. Case in point, years ago my brother Marc and I had been working on a short puppet animation film "Little Snips" (do not bother looking it up it never went past pre-production) so with little investigation I grabbed the Nikon D40 with intentions of shooting our stop motion on it. Suffice to say for tech and other reasons it was never used.
I held onto the camera anyway and now and then for fun I would grab it out and 'wala' on camera flash (Yes Terry Richardson). Many friends had their image captured this way when visiting. I was looking through them a couple of days ago and was so impressed with how sharp and great they looked. One image above was going to be used for an independent fashion mag which never saw the light of day. A mock up above was as far as they got.
The images taken with the D40 looked great but I still purchased a D700 anyway and shot with that despite how good the D40 actually was for what I was shooting. Remember, I don't get payed they are just snap shots of friends and a best make it onto a webpage or their mobile phone or heradshot/test for their A4 books. So why did I ever upgrade. If I am completely frank I shoot with a D600 & Sigma 50mm Art lens, if I could do a comparison for the mock up above I think the D40 would still stack up quite well.
The 3 images above show the 1. raw jpg file(left) which was used followed by the 2. Lightroom adjustments and Photoshop liquefy and skin retouch(middle) and finally 3. Lightroom and VSCO Film 01 Kodak Portra 800(right). The image is razor sharp and was more than satisfactory for the magazine cover.
Some more great examples of how usable the Nikon D40 is still today. I really think anyone on a budget should look no further thank the Nikon D40 and it's 2 kit lenses. If I gave this camera to either Tyler Anlberti or Morgan Roberts I am 100% postive the results would be outstanding conditions withstanding.... now theres an idea ..... CASE CLOSED