> If a car smashed into me and I couldn't code, my company wouldn't pay me either?
Mine would (not a company, a university). For the first two weeks, I'd use accrued Sick Time then switch to their Short-Term Disability that would cover 100% of my pay (for some positions with fewer years of service it would be 75%). Short-Term Disability coverage lasts for six months, beyond that my employer doesn't pay any salary replacement but I pay a few dollars a month for long-term disability insurance that would.
I think the federal Family and Medical Leave Act only guarantees I can return to my job for 12 weeks but Massachusetts increases that to 20 weeks. By policy, my employer won't dismiss someone on Short-Term Disability (26 weeks) and may not beyond that either.