I generally agree with this sentiment, though COBOL may be overkill. Anything stable and not latest/greatest probably helps a lot - Java, C#, and of course C/C++. Big boring companies seem to have older people - my company's average age is probably in the mid 40s.