News for hackers. Stuff that matters.
Re: Why are we limited to JS in browsers - would a bytecode ... by orangecat on Thursday November 11, 2010 @07:21PM (#1895982)
OK, don't use the "bad parts."

That's what I try to do, which turns it into a crippled Ruby. And there's no getting around it silently doing the wrong thing if I ever forget a "var" or "===".

Re: Why are we limited to JS in browsers - would a bytecode ... by jashkenas on Thursday November 11, 2010 @08:02PM (#1896090)
For what it's worth, there are tools that can help you avoid the bad parts. JSLint won't let you forget a "var" or "===" ... and if you use CoffeeScript, it's not possible to forget "var" or "===", because there aren't any.