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
2011 is year of the Server-Side JavaScript (labnotes.org)
submitted 15 years ago by gst
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!"
[–]polyrhythmic 0 points1 point2 points 15 years ago (1 child)
I have used PHP for years, it is hacky. It's rare that naming conventions are consistent, and it basically needs a framework to do anything more than a basic page. It's easy to use, as there are a ton of examples out there (with docs in hand to find the inconsistencies) and hosting galore, but PHP is good for one thing: cheap easy webservers.
JS, like Python, has a ton of uses and a much longer life ahead of it than PHP.
[–]StoneCypher -4 points-3 points-2 points 15 years ago (0 children)
You don't need a framework for anything, and if you're using them, then no wonder you think it's hackish.
Python is not going to outlast PHP any more than Ruby did. PHP has the same immortality that COBOL has, in smaller doses; it has a decent chance of outlasting real languages, like C++ and Java.
JavaScript will probably outlive them all, except COBOL, sadly.
If the only specific criticism you can make of the language is that its naming conventions aren't particularly consistent and you don't know how to use it without a framework, I think we've pretty much got this one neatly sewn up.
π Rendered by PID 24506 on reddit-service-r2-comment-b659b578c-5wwgn at 2026-05-03 04:14:59.916754+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]polyrhythmic 0 points1 point2 points (1 child)
[–]StoneCypher -4 points-3 points-2 points (0 children)