I don't believe conditions like this are often sudden so much as a long time coming. Even folks with young adult onset bipolar disorder often have hints throughout their lives. That would suggest that it's not necessarily being afflicted that determines whether you develop a career.
But if you haven't already got a career when you become ill, it's virtually impossible to get a paying job - especially in computing. And that's something I'm trying to publicise and prevent.