How hard would it be to start ground up?

How hard would it be for someone to learn coding and develop something (in this case WP) from the ground up, with no prior knowledge and background whatsoever?

by hard, i mean how much hours of work is in general needed to learn all the languages and stuff needed to develop some basic apps, like say, stopwatch?