> Are you sure we shouldn't rather spend time getting better at, say, playing the piano?

Honesty, even if I could somehow make a decent living by doing that (you really can't), no I wouldn't.

Point is if humans need to struggle with something to build neural pathways, character etc. then getting better at playing an instrument is as good at that as anything, even if it has very little economic utility (I thought that part was obvious). Programming might soon have equally little utility.