But i wana make a webapp, how should i go about building a web app without touching javascript, is there any frameworks like gwt for golang, or C++, rust
I get why people hate it, and your opinion is fine. But you're going to have a rough time building a web app if you hate JavaScript, even if you use a language that compiles down to it.<p>JavaScript is at the heart of web apps, where DOM, CSS, and logic are married. Sure, you can bypass it using server side scripting or languages that convert to JS, but in the end, you're trying to sew a dress using only hotglue. It'll work, but it's the wrong tool for the job, and it'll lead you down a road of pain and headaches.<p>I'd recommend collaborating with someone who knows JavaScript well, then you can focus on backend logic and collaborate on other pieces.
You may have to learn to put up with it. It's not the end of the world. It's just a scripting language, just suck it up and deal.<p>There are any number of js frameworks which will probably abstract away most of the headaches you might have, and depending on what you're actually trying to accomplish, you may not need a lot of js at all. If you don't want to use client-side templating, for instance, and there's no reason to, then just skip it. Push as much of it to the backend in the language of your choice as you can.<p>But javascript, when you need scripting in the browser, is kind of unavoidable.<p>Also consider <a href="http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockford/dp/0596517742" rel="nofollow">http://www.amazon.com/JavaScript-Good-Parts-Douglas-Crockfor...</a> - your expectations from working with other languages may be getting in the way of your writing javascript properly and effectively.<p><i>(or do what a lot of other people do and work with a language that compiles to js and you can pretend you live in an alternate universe where you're not working with javascript even though you really are.)</i>
I'd recommend using Errai (<a href="http://erraiframework.org/" rel="nofollow">http://erraiframework.org/</a>) ... you get to program in a well-known, type-safe language and much of the JavaEE infrastructure is extended into the browser. Errai is based on GWT but allows the use of HTML as the templating language (instead of UiBinder which is GWT's XML-based templating function).<p>One great thing about both Errai and GWT projects is that they're optimized for many browsers and the compiler abstracts away the differences between browsers (by compiling a version of the application for each).
You can't even spell correctly--no wonder you hate Javascript.<p>It's a fairly small language and if you refer to simple best practices (as outlined in, say, <i>Javascript: The Good Parts</i>) you won't have a bad time at all.<p>It's the first language to introduce closures to the masses, the only language that is really <i>at home</i> in an HTML document (some newcomers aside), and on the server it's quite easy to quickly bash something together in Node.<p>Blindly declaring that you hate the <i>lingua franca</i> of webapps is pretty difficult road to hoe. What's your issue?
<i>But i wana make a webapp, how should i go about building a web app without touching javascript</i><p>Use Java.<p><a href="http://pivot.apache.org" rel="nofollow">http://pivot.apache.org</a><p>Demos, no javascript required.<p><a href="http://pivot.apache.org/demos/" rel="nofollow">http://pivot.apache.org/demos/</a><p>Deploy as applet or via JWS.
You could try CoffeeScript. It takes away a lot of what people don't like about JavaScript out, and replaces it with a decent syntax. I personally love well written vanilla JavaScript, but CoffeeScript might give you a little better experience if you "hate" JS.<p>So, is it the DOM you don't like, or the actual JS syntax and structure? For me, when I overcame the weakness of the DOM API, and utilized it elegently, I started to enjoy JS.
There are lots of languages nicer than JS that compile down to JS.<p>That said, <i>you don't need JS</i> to make a webapp. You can do it strictly with server-side code and HTML.
You can easily create a web app with PHP-HTML but your app will never be successful without Javascript! Most of the people was not aware of its awesomeness until few years ago, now there are millions of frameworks, scripts, server side, back-end,front-end all kind of things created in Javascript. I think its the language of tomorrow.
What do you hate about it?<p>My biggest transition to being comfortable with it was to find a happy place in terms of editing. After years of C/C++ it was not easy to be picking fragments of code out of DOM bellyfluff lint. So how do you <i>use</i> javascript dev tools and what don't you like about them I guess?
You can compile C++ to JS using Emscripten, but I doubt you will be able to do webdev this way ...<p>For building webapps try CoffeeScript (inspired from Ruby and Python, compiles to JavaScript), Dart (seems to be inspired from Java, compiles to JavaScript), ClojureScript (a Lisp language, compiled to JavaScript) ...
<a href="https://www.dartlang.org/" rel="nofollow">https://www.dartlang.org/</a> seems like the obvious answer but you'll still need to learn another language.
If you're more inclined to go down a functional route then you may find elm to be particularly exciting:<p><a href="http://elm-lang.org/" rel="nofollow">http://elm-lang.org/</a>
#firstworldproblems. seriously though you can try <a href="http://www.typescriptlang.org/" rel="nofollow">http://www.typescriptlang.org/</a>