When taking into consideration how much time an engineer has to spend educating himself and the salary he gets, it would take a while to match that from a doctor's perspective. For example, 4 yrs of undergrad and a starting job at Google can see you making close to over $100K in 3-4 years. As a medical student you have 4 yrs of undergrad and 4 yrs of medical school (that can be a tremendous amount of loans). Then throw in anywhere from 3-7 years of residency making $40K. Depending on the specialty you choose and how hard you wish to work the median salary can range from $120K to $450K.
They may not be equal, but I know developers pulling in $200K that are just turning 30. Not to mention their lifestyle is a lot less stressful.
I imagine that not a lot of people know what you can make as an engineer and too many people still don't give engineers the credit they deserve.