Betpimp (if you want to be immature regarding names
) - a doctor requires a 5 year course, lawyers at least 4 years. An integrated ATPL course takes a year. As was mentioned before, flying is largely a skill whereas doctors and lawyers require an intellectual capacity.
A pilot may be seen as "glamourous" by those who know no better but that is not the same as "prestigious". Qualified doctors and lawyers tend to have a certain amount of respect for others in their profession and engender encouragement towards those who are training in those professions.
Cheers
Whirls