I think most people that enjoy programming would love to continue to do so until retirement.<p>When people ask this question, what they are actually asking is, "Do people want to hire a 50 year old programmer?"<p>For a lot of the HN set, I bet they would be unsure about hiring someone of such an age; and that's unfortunate.<p>For many careers, age is seen as wisdom. Lawyers, mathematicians, judges, accountants, politicians, scientists, MBAs, real-estate agents, bankers, journalists, doctors... In all of these fields, all else being equal, you'd probably hire a 50 year old over a 20 year old.<p>Programmers seem to have more of a shelf life on the open market, along with models, actors, musicians, and laborers. I think many 30 and 40-something programmers sense this and start to wonder if they need a backup plan to get to retirement (which in the US is actually often mid-60s).