News for hackers. Stuff that matters.
Re:Khan Academy: Computer Science by mtgx on Tuesday August 14, 2012 @02:24PM (#4382352)
I wonder why they didn't do the Computer Science class in Python, especially that now more schools are adopting Python. Isn't Python better for learning than Javascript? Did they choose Javascript for this one just because they already had a Python course and they wanted a Javascript one now?
Re:Khan Academy: Computer Science by lazerwalker on Tuesday August 14, 2012 @02:54PM (#4382496)
It seems pretty clear that it's for practical reasons: you want that sort of rich in-browser experience, it's going to be easiest to provide using JS.

What I think is a more interesting discussion is why they're not using CoffeeScript or some other flavor of JS that glosses over a lot of the idiosyncrasies of the language and arguably offers a more beginner-friendly syntax.

Re:Khan Academy: Computer Science by dudey on Tuesday August 14, 2012 @02:30PM (#4382384)
I think that python is the better choice for an in-person class, but building an in-browser js interpreter is a lot simpler than an in-browser python interpreter.
Re:Khan Academy: Computer Science by aangjie on Tuesday August 14, 2012 @02:56PM (#4382506)
Hmm. that makes sense. because browser have been handling js for a longer time and so there would be more support for a in-browser js interpreter. I have seen some python in-browser interpreters, which are good though.
Re:Khan Academy: Computer Science by bradleyt on Tuesday August 14, 2012 @02:29PM (#4382381)
I don't think it would be possible for them to have the type of environment they've got set up if they used Python.