I am not involved in the medical sector in any way, but I'm basing my judgements in personal experience (which I would argue varies greatly in each individual).
I suppose my argument is that mental health covers such a broad spectrum that it is simply not possible to lump everyone into the same bracket. There is a lot of (understandable) ignorance surrounding the subject. I feel many even in the medical sector may get flustered hen faced with the subject.
My caution is for people to not lump everyone who has suffered a form of mental illness into the same bracket, or judge them as a lesser individual. I think most are capable of rational thought, and seek help at the earliest opportunity. The important point is that everybody is at risk of going through a depressive episode at some point in their life, even pilots! I do believe that in many cases it is a result of modern life. Any decisions being made on the back of this sad incident should not neglect the importance of pilots feeling that they can report such illness without fear of being typecast/losing their medical privilidges in the long run.