News for hackers. Stuff that matters.
Re:JavaScript at Khan Academy by benihana on Tuesday February 28, 2012 @06:06PM (#3645486)
>Except for creating an HTML-file and understanding how all that works.

Using chrome? Hit [ctrl+shift+j|cmd+option+j] and you can write JavaScript without any HTML necessary. Other browsers have similar consoles that need no HTML to write JavaScript.

Re:JavaScript at Khan Academy by judofyr on Tuesday February 28, 2012 @06:10PM (#3645504)
Right. Let's teach programming in an environment that we never use to create full projects.

REPLs are fine to experiment with, but it's important to learn how you would write "real" code. Dumbing down this essential concept is just silly.

Re:JavaScript at Khan Academy by simonw on Tuesday February 28, 2012 @06:34PM (#3645590)
Completely disagree - I write most of my production code in a REPL (either JavaScript or Python), and only save it to a file once I know it's going to work.
Re:JavaScript at Khan Academy by judofyr on Tuesday February 28, 2012 @07:14PM (#3645751)
I'm not against using REPL, but it's not viable to solely write in REPLs, therefore we need to teach "how to run things in files" and then we're back at crappy HTML-files.
Re:JavaScript at Khan Academy by syaz1 on Tuesday February 28, 2012 @08:26PM (#3645957)
I don't see anybody saying one need to use REPLs only. What's nice with JS is you have the option to open browser's JS console and try stuff there. You don't need to. But you can.

All modern browsers has JS console. That's dev environment setup freely for you. And if you use FF, enhancing that env with Firebug is just a few clicks away. WIth the rise of web apps nowadays, this is actually a very good move.