[Web Games] What is the best second language?

I’m thinking I need to learn a new language. I want to start to make web apps, and web games. Though, Java applets are quite substandard and annoying.

So what would be the best second language after Java for web game development?

Please don’t say there isn’t a BEST language because that just gets annoying. :stuck_out_tongue:

JavaScript.

What is the glory in Javascript?

Asking “What is the best…?” is more annoying, as “there is no best” is the most correct answer.

That being said: Either JS like jonjava said, or something that compiles to JS. That’s pretty much it.

Edit: Note that libGDX can compile to JS.

Whelp then Dart it is then. :stuck_out_tongue:

For someone who is used to Java, Dart is indeed the easiest way to get into web development. It’s kind of a mix between Java and JavaScript. Nonetheless it still makes sense to learn JavaScript first since you need to be able to use a JS game engine from within Dart.

Go crazy! Learn SQL.

Cas :slight_smile:

If we’re attempting to be cruel, why not PHP?

Well you could also use HTML for making games ::slight_smile:

Well Carmack rewrote Wolfenstein 3D using it because he thought it was a fun thing to do, that pretty much made me grow up right there and then.

Portuguese! Bom dia!

I actually don’t think it matters which language anymore, soon all languages will be able to be compiled to others, including human languages.

As said, go w/ Dart or CoffeeScript! :stuck_out_tongue:

What about Haxe? It can target Flash, .Net, C++, Java, Javascript, PHP and also it’s own Neko VM.

You could also use Scala. The Scala.JS project looks very promising. I played around with it and the js files it produces are about the same size as in Dart, the performance is similar too.
You can try it out interactively here
http://www.scala-js-fiddle.com/

The big advantage here is that you can run your Scala code either on the JVM or compile it to JS and run it in the browser.

While we’re on about that sort of language… there’s also Monkey.

Cas :slight_smile:

Be a real man. Learn Lisp.

Or ClojureScript which is then applicable for webdev.

Saying there is a best web development language is exactly like saying there is a best desktop development language.

The best web development language is the one you are competent in. For me, that means there is no best web development language.

Finally a better answer than “there is no best”!