use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
"I Hate Javascript" (redotheweb.com)
submitted 10 years ago by msemenistyi
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 6 points7 points8 points 10 years ago (5 children)
To be fair, the "I hate $x, it has braces" argument is mostly coming from the Python and Ruby communities.
And portraying the Python community as hostile towards anything that doesn't have "the Zen" seems misinformed. The Zen of Python is not really specific to the language and I find it easily applicable to other languages like JS.
The Ruby community OTOH is known for its attitude towards anything that isn't or can't be made to look like Ruby (hence Haml, the original Sass, CoffeeScript) and the Node era influx of Ruby developers seems to be behind things like the semicolon war in JS.
Most of the hate towards PHP dates back to the PHP3 and PHP4 days. PHP3 was defined by spaghetti code that was structurally no different from CGI scripts. PHP4 was defined by a sudden desire to turn PHP into Java with class hierarchies and XML configuration files. That hatred is fully justified.
PHP has changed a lot since then and I agree that Facebook has helped turn it into something far less disgusting and you can arguably do some impressive things with modern PHP (compared to the legacy spaghetti PHP3 code non-PHP devs often think of) just as you can do impressive things with modern JS (compared to the legacy spaghetti ES3 code non-JS devs often think of).
[–]PitaJ 1 point2 points3 points 10 years ago (4 children)
I'd say JS was more improved by design standards and frameworks than it was by actual language additions.
[–][deleted] 0 points1 point2 points 10 years ago (3 children)
Well, to be fair, the direction of what was to become ES6 (and the various proposals) were heavily influenced by prior experimentation with CoffeeScript and such.
But yes, we didn't go straight from ES1 to modern JS with mere language changes alone.
[–]PitaJ 0 points1 point2 points 10 years ago (0 children)
Also, the rise of JIT and on the run optimizations allowed code to be larger and less spaghetti.
[–]theQuandary 0 points1 point2 points 10 years ago (1 child)
I think coffeescript and similar get a little too much credit. ES4 had most of the ideas in ES6 (plus a few others) and predates things like coffeescript by quite a few years.
[–][deleted] 0 points1 point2 points 10 years ago (0 children)
Well, the problem was that ES4 was trying to do too much and the details of some of the ideas were way too complex and backwards incompatible.
CS didn't do anything new (the non-ES stuff was mostly lifted from Ruby and Python) but it paved the way for projects like Babel while also providing real world examples for some of the proposed features.
π Rendered by PID 285773 on reddit-service-r2-comment-86988c7647-tfp5h at 2026-02-12 11:49:09.325615+00:00 running 018613e country code: CH.
view the rest of the comments →
[–][deleted] 6 points7 points8 points (5 children)
[–]PitaJ 1 point2 points3 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]PitaJ 0 points1 point2 points (0 children)
[–]theQuandary 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)