Most musicians (i.e. non-famous ones) get most of their income from teaching students. I don't think such a model makes sense for developers
(though who knows, maybe at some time in the future there will be significant numbers of people programming as a hobby and wanting to be coached by a human...)