I'm a graduating medical student with a master's in computer science.
In a lot of ways CS is the polar opposite of medicine; one values derivation and automation while the other emphasizes memorization and one-on-one interactions.<p>Surprisingly, teamwork is one area where CS wins out. I've found that despite the professed importance of the <i>healthcare team</i>, healthcare often doesn't function like a team at all. Doctors, nurses, PAs, patient care assistants, administrative staff, can make or break your life by providing support or creating obstacles. I think it's a result of a inherently tiered system with a single person (e.g. the attending) on top who decides the treatment plan. In CS you almost never have a single person who is overly-trained relative to peers. Maybe you'll have a better developer, UI designer or manager, but none of these attributes makes that person the sole decider. The pay structure in medicine reflects its hierarchical system: software managers don't earn 10x what software developer make, whereas attendings easily make 10x a nurse's salary.