Coal miners could probably "learn to dent" too, but dentists have set it up so dental school is expensive, exclusive, and requires a four-year degree to gain admission. That's why the cost of dental care is soaring and the median salary for dentists in the US is now $140-150k[1] a year. By contrast, the wages of software engineers (sorry, coders) have been flat for decades, despite a supposedly dire "skills gap" that tech companies cite as justification for expanding the H-1B visa program and making "coding" part of public school curricula.
[1] http://money.usnews.com/careers/best-jobs/dentist/salary