What do you think about teaching JavaScript as the first programming language rather than Python? I know that some think JavaScript is a better choice [1], because it's so much easier to produce a real application as opposed to a command-line toy. But the opposing argument would be that JS has so many flaws, or more charitably, it's such a quirky language. Also, any opinions about Khan Academy's platform and lessons for learning to program with JavaScript [2]?<p>I'm not a parent, but my friend's 10-year-old son has asked me to teach him to program.<p>[1]: <a href="http://prog21.dadgum.com/203.html" rel="nofollow">http://prog21.dadgum.com/203.html</a><p>[2]: <a href="https://www.khanacademy.org/computing/computer-programming" rel="nofollow">https://www.khanacademy.org/computing/computer-programming</a>