Wading warily into a discussion that is very personal to most of you but of academic(I hope)interest to me.
There are really two points to make
1) why airlines are a horrible investment
2) which makes them a horrible industry to work in
Warren Buffett famously declared that if some far sighted capitalist had been at Kitty Hawk in 1903 he would have owed it to capitalists everywhere to shoot Wilbur down. Not even Karl Marx has done as much damage to capitalism.
http://www.biggerbooks.com/bk_detail.aspx?isbn=9780553384611
(Scroll to "U.S Horse Population")
Why? Airlines require large capital investments. If you are a large legacy carrier you are then burdened with pension/pay obligations from the unions. Next fuel prices, a major component of your costs, are unpredictable. When you're finally ready to sell your product, it is a commodity(moving people from A to B) where the average consumer cares(rightly so) only about getting the cheapest seat.
As if that wasn't bad enough, any airline in bankruptcy is allowed to keep operating, which means they are able to lower their labor costs. Those lowered costs undercut their competitors who are then forced into bankruptcy.
So why if you are not a poor airline shareholder should you care? In "Ten commandments for business failure" Don Keough recommends viewing yourself as CEO of ME Inc. You have to first find an industry to get into. Next you have to get as much of a competitive edge(education/training) as you can. Finally work as hard as you can to make ME inc an irreplaceable company.
Unfortunately being an airline pilot is selling a commodity used to make another commodity. There is no meaningful way to distinguish one pilot from another hence the need for seniority. The allure, prestige of the "Airline Pilot" means that there are people that are willing to work for $22K per year. College educated, expensively trained people! The first thing most companies seem to do in banruptcy is shred the pay scales, and lets not even talk about furloughs.
Even worse the threat of technology. Does anyone seriously doubt that we will achieve the technological ability to remotely and safely fly airplanes from the ground with social norms being the showstopper?
Personally I would avoid becoming an airline pilot. IF you have to be in the business then sadly capitalism is NOT your friend. Capitalism is "creative destruction" buggy whip makers, coopers, stage coach drivers, the salting industry have all vanished unlamented. If the free market decides Airline pilots need to go, then they will go! Use of laws can slow it down, but do we really think anything could have stopped kerosene decimating the harpooning industry?
If I was an airline pilot I would be looking for a strong union, refusing to allow foreign pilots, banning the development of any unmanned or remotely piloted airplanes and lobbying(paying) congress to enact laws that guarantee minimum hours, pay etc. But in the end so long as the airline industry does poorly, the long term prospects will be bleak.