The draw of programming for me was that I do could do interesting work and create something all by myself, by the force of my own mind. I loved it largely because I could do it independently, without mommy and daddy steering. I would have lost interest quickly had it been supervised.
There aren't many other creative activities like that - hardware hacking requires 1) driving to stores to 2) buy parts 3) with money or 4) owning a credit card to order things online. Music requires 1) paying 2) an adult teacher and 3) driving you to lessons. Sports, again, requires money, equipment, and driving. As long as there's a computer and an internet connection, you can teach yourself to program all you want.
(As an aside, Cory Doctorow has a part in Little Brother where he talks about why programming is so amazing - there's really nowhere else where you can make living, acting things with just your thoughts.)
>violent videos
So what? Anyone who's slightly informed about the news sees violence all the time. It's part of living in this world. I watched Saddam Hussein hang on CNN.com and I'm not any different because of it.
>social networks with all kinds of shady types hanging around
You might be shady for all I know, but it doesn't matter unless we meet in person. Where your child is going and who he's letting into the house are perfectly legitimate things to supervise and even I wanted to walk into the arms of a predator, it would have been pretty difficult.
As far as Facebook, the shady characters are exactly the same shady characters at school.
>Didn't stop me from learning C and writing games on my TI calculator.
These were the dominant media for a while, but your CLI program in 2014 isn't very interesting to anyone else. Web and iOS applications are, and the web is pretty important if you're going to target these media.