As chief executive of Codecademy, a two-year-old company that offers free, online instruction in computer programming, Mr. Sims believes that programming skills can be a ticket to upward mobility just as a college degree has been for generations.

Lots of people seem to agree: 24 million unique users had signed on for courses on Codecademy's platform...