Live data from Hacker News

Ask HN: I hate JavaScript

news.ycombinator.com

1–10 of 33 posts

Re: Ask HN: I hate JavaScript

#3
What do you hate about it?

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 use javascript dev tools and what don't you like about them I guess?

Re: Ask HN: I hate JavaScript

#4
You can compile C++ to JS using Emscripten, but I doubt you will be able to do webdev this way ...

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) ...

Re: Ask HN: I hate JavaScript

#6
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.

Re: Ask HN: I hate JavaScript

#7
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.

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.

I'd recommend collaborating with someone who knows JavaScript well, then you can focus on backend logic and collaborate on other pieces.

Re: Ask HN: I hate JavaScript

#8
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.

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.

I'd recommend collaborating with someone who knows JavaScript well, then you can focus on backend logic and collaborate on other pieces.

Post reply on HN